scruzlara commited on
Commit
aae2aaa
·
verified ·
1 Parent(s): b168c87

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,6 +58,6 @@ def predict(image=None) -> dict:
58
 
59
 
60
  gr.Interface(fn=predict,
61
- inputs=gr.Image(),
62
- outputs=gr.Label(num_top_classes=10),
63
  examples=["200005.jpg", "200006.jpg"], interpretation='default').launch()
 
58
 
59
 
60
  gr.Interface(fn=predict,
61
+ inputs=gr.components.Image(),
62
+ outputs=gr.components.Label(num_top_classes=10),
63
  examples=["200005.jpg", "200006.jpg"], interpretation='default').launch()