Tobias Cornille commited on
Commit
9e815ad
1 Parent(s): 7682eca

Gradio fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -488,7 +488,7 @@ if __name__ == "__main__":
488
  )
489
  with gr.Row():
490
  with gr.Column():
491
- input_image = gr.Image(source="upload", type="pil")
492
  thing_category_names_string = gr.Textbox(
493
  label="Thing categories (i.e. categories with instances), comma-separated",
494
  placeholder="E.g. car, bus, person",
 
488
  )
489
  with gr.Row():
490
  with gr.Column():
491
+ input_image = gr.Image(sources=["upload"], type="pil")
492
  thing_category_names_string = gr.Textbox(
493
  label="Thing categories (i.e. categories with instances), comma-separated",
494
  placeholder="E.g. car, bus, person",