MasleK commited on
Commit
ca06cf9
·
1 Parent(s): 001a7b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -19,8 +19,8 @@ examples = ['330px-Orange_slug.jpg', 'Green_Snakes.jpg', 'Helix_pomatia_002.JPG'
19
 
20
  gr.Interface(
21
  predict,
22
- inputs=gr.inputs.Image(label="candidate", type="filepath"),
23
- outputs=gr.outputs.Label(num_top_classes=3),
24
  title=title,
25
  examples=examples,
26
  description=description,
 
19
 
20
  gr.Interface(
21
  predict,
22
+ inputs=gr.components.Image(label="candidate", type="filepath"),
23
+ outputs=gr.components.Label(num_top_classes=3),
24
  title=title,
25
  examples=examples,
26
  description=description,