Marten (msc) commited on
Commit
86c48e9
·
1 Parent(s): 7fc6f59

fix errors, warnings

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -15,6 +15,6 @@ def predict(img):
15
 
16
  gr.Interface(
17
  fn=predict,
18
- inputs=gr.inputs.Image(shape=(512, 512)),
19
- outputs=gr.outputs.Label(num_top_classes=2),
20
- ).launch(share=True)
 
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()