ShivamShrirao commited on
Commit
b7f68e9
1 Parent(s): 75f0380

removed optional

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.", optional=True, type="pil"),
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",