Commit
·
01a18a5
1
Parent(s):
82e1e14
app
Browse files
app.py
CHANGED
|
@@ -12,7 +12,7 @@ def classify_image(image):
|
|
| 12 |
return f"Predicted class: {pred_class}"
|
| 13 |
|
| 14 |
|
| 15 |
-
demo = gr.Interface(
|
| 16 |
demo.launch()
|
| 17 |
|
| 18 |
|
|
|
|
| 12 |
return f"Predicted class: {pred_class}"
|
| 13 |
|
| 14 |
|
| 15 |
+
demo = gr.Interface(classify_image, gr.Image(shape=(224, 224)), "text")
|
| 16 |
demo.launch()
|
| 17 |
|
| 18 |
|