Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -36,7 +36,7 @@ def predict(image):
|
|
| 36 |
}
|
| 37 |
|
| 38 |
# Create the Gradio interface
|
| 39 |
-
inputs = gr.
|
| 40 |
-
outputs = gr.
|
| 41 |
|
| 42 |
gr.Interface(fn=predict, inputs=inputs, outputs=outputs).launch()
|
|
|
|
| 36 |
}
|
| 37 |
|
| 38 |
# Create the Gradio interface
|
| 39 |
+
inputs = gr.components.Image()
|
| 40 |
+
outputs = gr.components.Label(num_top_classes=3)
|
| 41 |
|
| 42 |
gr.Interface(fn=predict, inputs=inputs, outputs=outputs).launch()
|