Spaces:
Runtime error
Runtime error
update
Browse files- app.py +3 -3
- requirements.txt +0 -1
app.py
CHANGED
|
@@ -15,6 +15,6 @@ def predict(img):
|
|
| 15 |
|
| 16 |
|
| 17 |
gr.Interface(fn=predict,
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
|
|
|
| 15 |
|
| 16 |
|
| 17 |
gr.Interface(fn=predict,
|
| 18 |
+
inputs=gr.Image(type="pil"),
|
| 19 |
+
outputs=gr.Label(num_top_classes=3),
|
| 20 |
+
interpretation='default').launch()
|
requirements.txt
CHANGED
|
@@ -1,3 +1,2 @@
|
|
| 1 |
-
gradio
|
| 2 |
fastai
|
| 3 |
scikit-image
|
|
|
|
|
|
|
| 1 |
fastai
|
| 2 |
scikit-image
|