Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import tensorflow as tf
|
3 |
# Load the model
|
4 |
-
model = tf.keras.models.load_model('
|
5 |
|
6 |
def predict(image):
|
7 |
img = tf.keras.preprocessing.image.img_to_array(image)
|
|
|
1 |
import gradio as gr
|
2 |
import tensorflow as tf
|
3 |
# Load the model
|
4 |
+
model = tf.keras.models.load_model('test.keras')
|
5 |
|
6 |
def predict(image):
|
7 |
img = tf.keras.preprocessing.image.img_to_array(image)
|