Update app.py
Browse files
app.py
CHANGED
|
@@ -58,6 +58,6 @@ def predict(image=None) -> dict:
|
|
| 58 |
|
| 59 |
|
| 60 |
gr.Interface(fn=predict,
|
| 61 |
-
inputs=gr.Image(),
|
| 62 |
-
outputs=gr.Label(num_top_classes=10),
|
| 63 |
examples=["200005.jpg", "200006.jpg"], interpretation='default').launch()
|
|
|
|
| 58 |
|
| 59 |
|
| 60 |
gr.Interface(fn=predict,
|
| 61 |
+
inputs=gr.components.Image(),
|
| 62 |
+
outputs=gr.components.Label(num_top_classes=10),
|
| 63 |
examples=["200005.jpg", "200006.jpg"], interpretation='default').launch()
|