merve HF staff commited on
Commit
1a89cf0
β€’
1 Parent(s): 3445cf2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -72,7 +72,8 @@ 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="Zero-Shot Object Detection with OWLv2",
76
- examples=[["./bee.jpg", "bee, flower", 0.16, 0.12]]
 
77
  )
78
  demo.launch(debug=True)
 
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."
77
+ examples=[["./bee.jpg", "bee, flower", 0.16, 0.12], ["./cats.png", "cat, fishnet", 0.16, 0.12]]
78
  )
79
  demo.launch(debug=True)