merve HF staff commited on
Commit
0170535
1 Parent(s): facaf75

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ owl_output = gr.AnnotatedImage(label="OWL Output")
70
  dino_output = gr.AnnotatedImage(label="Grounding DINO Output")
71
  demo = gr.Interface(
72
  query_image,
73
- inputs=[gr.Image(label="Input Image"), gr.Textbox("Candidate Labels"), owl_threshold, dino_threshold],
74
  outputs=[owl_output, dino_output],
75
  title="OWLv2 ⚔ Grounding DINO",
76
  description="Compare two state-of-the-art zero-shot object detection models [OWLv2](https://huggingface.co/google/owlv2-base-patch16-ensemble) and [Grounding DINO](https://huggingface.co/IDEA-Research/grounding-dino-base) in this Space. Simply enter an image and the objects you want to find with comma, or try one of the examples. Play with the threshold to filter out low confidence predictions in each model.",
 
70
  dino_output = gr.AnnotatedImage(label="Grounding DINO Output")
71
  demo = gr.Interface(
72
  query_image,
73
+ inputs=[gr.Image(label="Input Image"), gr.Textbox(label="Candidate Labels"), owl_threshold, dino_threshold],
74
  outputs=[owl_output, dino_output],
75
  title="OWLv2 ⚔ Grounding DINO",
76
  description="Compare two state-of-the-art zero-shot object detection models [OWLv2](https://huggingface.co/google/owlv2-base-patch16-ensemble) and [Grounding DINO](https://huggingface.co/IDEA-Research/grounding-dino-base) in this Space. Simply enter an image and the objects you want to find with comma, or try one of the examples. Play with the threshold to filter out low confidence predictions in each model.",