Spaces:
Runtime error
Runtime error
ShivamShrirao
commited on
Commit
•
b7f68e9
1
Parent(s):
75f0380
removed optional
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def predict(image, labels):
|
|
23 |
|
24 |
gr.Interface(fn=predict,
|
25 |
inputs=[
|
26 |
-
gr.inputs.Image(label="Image to classify.",
|
27 |
gr.inputs.Textbox(lines=1, label="Comma separated classes", placeholder="Enter your classes separated by ','",)],
|
28 |
theme="grass",
|
29 |
outputs="label",
|
|
|
23 |
|
24 |
gr.Interface(fn=predict,
|
25 |
inputs=[
|
26 |
+
gr.inputs.Image(label="Image to classify.", type="pil"),
|
27 |
gr.inputs.Textbox(lines=1, label="Comma separated classes", placeholder="Enter your classes separated by ','",)],
|
28 |
theme="grass",
|
29 |
outputs="label",
|