Gaejoon commited on
Commit
4e85810
·
verified ·
1 Parent(s): e9ba9c7

Update app.py

Browse files

bug fix - input initial strings

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -80,7 +80,7 @@ owl_output = gr.AnnotatedImage(label="OWL Output")
80
  demo = gr.Interface(
81
  query_image,
82
  # inputs=[gr.Image(label="Input Image"), gr.Textbox(label="Candidate Labels"), owl_threshold, dino_threshold],
83
- inputs=[gr.Image(label="Input Image"), gr.Textbox(label=english_candidate_labels_string), owl_threshold],
84
  # outputs=[owl_output, dino_output],
85
  outputs=[owl_output],
86
  title="OWLv2 Demo",
 
80
  demo = gr.Interface(
81
  query_image,
82
  # inputs=[gr.Image(label="Input Image"), gr.Textbox(label="Candidate Labels"), owl_threshold, dino_threshold],
83
+ inputs=[gr.Image(label="Input Image"), gr.Textbox(label="Candidate Labels", value=english_candidate_labels_string), owl_threshold],
84
  # outputs=[owl_output, dino_output],
85
  outputs=[owl_output],
86
  title="OWLv2 Demo",