Spaces:
Build error
Build error
Marten (msc) commited on
Commit ·
86c48e9
1
Parent(s): 7fc6f59
fix errors, warnings
Browse files
app.py
CHANGED
|
@@ -15,6 +15,6 @@ def predict(img):
|
|
| 15 |
|
| 16 |
gr.Interface(
|
| 17 |
fn=predict,
|
| 18 |
-
inputs=gr.
|
| 19 |
-
outputs=gr.
|
| 20 |
-
).launch(
|
|
|
|
| 15 |
|
| 16 |
gr.Interface(
|
| 17 |
fn=predict,
|
| 18 |
+
inputs=gr.components.Image(shape=(512, 512)),
|
| 19 |
+
outputs=gr.components.Label(num_top_classes=2),
|
| 20 |
+
).launch()
|