Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -23,6 +23,6 @@ def classify_image(img):
|
|
| 23 |
return {'error': str(e)}
|
| 24 |
|
| 25 |
# Définir l'interface
|
| 26 |
-
iface = gr.Interface(fn=classify_image, inputs="image", outputs="
|
| 27 |
|
| 28 |
|
|
|
|
| 23 |
return {'error': str(e)}
|
| 24 |
|
| 25 |
# Définir l'interface
|
| 26 |
+
iface = gr.Interface(fn=classify_image, inputs="image", outputs="json").launch(share="True")
|
| 27 |
|
| 28 |
|