Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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,
|