Nathan Segers
commited on
Commit
·
909a40e
1
Parent(s):
1c58f0c
fix: Gradio input was wrong
Browse files
app.py
CHANGED
|
@@ -22,6 +22,6 @@ def predict(image):
|
|
| 22 |
# 4) launch Gradio
|
| 23 |
gr.Interface(
|
| 24 |
fn=predict,
|
| 25 |
-
inputs=gr.Image(
|
| 26 |
outputs=gr.Label(num_top_classes=3)
|
| 27 |
).launch()
|
|
|
|
| 22 |
# 4) launch Gradio
|
| 23 |
gr.Interface(
|
| 24 |
fn=predict,
|
| 25 |
+
inputs=gr.Image(),
|
| 26 |
outputs=gr.Label(num_top_classes=3)
|
| 27 |
).launch()
|