Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,6 +30,6 @@ def predict(image):
|
|
| 30 |
return confidences, infer
|
| 31 |
|
| 32 |
gr.Interface(fn=predict,
|
| 33 |
-
inputs=gr.Image(
|
| 34 |
outputs=[gr.outputs.Label(num_top_classes=3), gr.outputs.Textbox('infer',label='Inference Time')],
|
| 35 |
examples='1.jpg 2.jpg'.split(' ')).launch()
|
|
|
|
| 30 |
return confidences, infer
|
| 31 |
|
| 32 |
gr.Interface(fn=predict,
|
| 33 |
+
inputs=gr.Image(),
|
| 34 |
outputs=[gr.outputs.Label(num_top_classes=3), gr.outputs.Textbox('infer',label='Inference Time')],
|
| 35 |
examples='1.jpg 2.jpg'.split(' ')).launch()
|