akhaliq HF staff commited on
Commit
40ea0aa
1 Parent(s): 37ac2d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -23,7 +23,7 @@ examples=[['tiger.jpeg','swin-large-patch4-window12-384-in22k']]
23
 
24
  gr.Interface(
25
  inference,
26
- [gr.inputs.Image(label="Input Image"),gr.inputs.Dropdown(choices=["swin-large-patch4-window12-384-in22k"], type="value", default="swin-large-patch4-window12-384-in22k", label="model")
27
  ],
28
  gr.outputs.Label(label="Classification"),
29
  examples=examples,
 
23
 
24
  gr.Interface(
25
  inference,
26
+ [gr.inputs.Image(label="Input Image",type='filepath'),gr.inputs.Dropdown(choices=["swin-large-patch4-window12-384-in22k"], type="value", default="swin-large-patch4-window12-384-in22k", label="model")
27
  ],
28
  gr.outputs.Label(label="Classification"),
29
  examples=examples,