Spaces:
Runtime error
Runtime error
fix model path
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import tensorflow as tf
|
3 |
|
4 |
-
model = tf.keras.models.load_model("saved_model.pb")
|
5 |
|
6 |
def mnist_classifier(img):
|
7 |
# Convert the image input to a tensor
|
|
|
1 |
import gradio as gr
|
2 |
import tensorflow as tf
|
3 |
|
4 |
+
model = tf.keras.models.load_model("/home/user/app/saved_model.pb")
|
5 |
|
6 |
def mnist_classifier(img):
|
7 |
# Convert the image input to a tensor
|