Spaces:
Runtime error
Runtime error
Update app.py
Browse filesbug fix - input initial strings
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",
|