andrewkatumba commited on
Commit
b4891a7
1 Parent(s): 42b4893

Label fixes

Browse files
app.py CHANGED
@@ -59,6 +59,6 @@ demo = gr.Interface(
59
  outputs=[ dino_output],
60
  title="OWLv2 ⚔ Grounding DINO",
61
  description="Evaluate state-of-the-art [Grounding DINO](https://huggingface.co/IDEA-Research/grounding-dino-base) zero-shot object detection models. 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 the model.",
62
- examples=[["./warthog.jpg", "zebra, warthog", 0.16], ["./zebra.png", "zebra, lion", 0.16]]
63
  )
64
  demo.launch(debug=True)
 
59
  outputs=[ dino_output],
60
  title="OWLv2 ⚔ Grounding DINO",
61
  description="Evaluate state-of-the-art [Grounding DINO](https://huggingface.co/IDEA-Research/grounding-dino-base) zero-shot object detection models. 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 the model.",
62
+ examples=[["./warthog.jpg", "zebra,warthog", 0.16], ["./zebra.png", "zebra,lion", 0.16]]
63
  )
64
  demo.launch(debug=True)
gradio_cached_examples/16/Grounding DINO Output/9ce1e7a252c55cbaba21/image.png ADDED
gradio_cached_examples/16/Grounding DINO Output/b21f2402f3b77ff14dd5/image.png ADDED
gradio_cached_examples/16/indices.csv ADDED
@@ -0,0 +1 @@
 
 
1
+ 0
gradio_cached_examples/16/log.csv ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Grounding DINO Output,flag,username,timestamp
2
+ "{""image"": {""path"": ""gradio_cached_examples/16/Grounding DINO Output/b21f2402f3b77ff14dd5/image.png"", ""url"": ""/file=/tmp/gradio/24d06effa758e7260040ea3c6b3a6da936eba664/image.png"", ""size"": null, ""orig_name"": null, ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}, ""annotations"": [{""image"": {""path"": ""gradio_cached_examples/16/Grounding DINO Output/9ce1e7a252c55cbaba21/image.png"", ""url"": ""/file=/tmp/gradio/fceab566cf00800c8251d74e515b4d9c01701c62/image.png"", ""size"": null, ""orig_name"": null, ""mime_type"": null, ""is_stream"": false, ""meta"": {""_type"": ""gradio.FileData""}}, ""label"": ""zebra warthog""}]}",,,2024-06-03 14:26:40.719993