Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,7 +10,7 @@ def predict_image(img):
|
|
| 10 |
|
| 11 |
# UI huggface
|
| 12 |
|
| 13 |
-
image = gr.
|
| 14 |
-
label = gr.
|
| 15 |
intrfce = gr.Interface(fn=predict_image, inputs=image, outputs=label)
|
| 16 |
intrfce.launch(inline=False)
|
|
|
|
| 10 |
|
| 11 |
# UI huggface
|
| 12 |
|
| 13 |
+
image = gr.Image(shape=(192, 192))
|
| 14 |
+
label = gr.Label()
|
| 15 |
intrfce = gr.Interface(fn=predict_image, inputs=image, outputs=label)
|
| 16 |
intrfce.launch(inline=False)
|