Gaejoon commited on
Commit
90f022c
·
verified ·
1 Parent(s): 7fd9b31

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -85,6 +85,7 @@ demo = gr.Interface(
85
  outputs=[owl_output],
86
  title="OWLv2 Demo",
87
  description="Compare two state-of-the-art zero-shot object detection models [OWLv2](https://huggingface.co/google/owlv2-base-patch16) . 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.",
88
- examples=[["./bee.jpg", "bee, flower", 0.16, 0.12], ["./cats.png", "cat, fishnet", 0.16, 0.12]]
 
89
  )
90
  demo.launch(debug=True)
 
85
  outputs=[owl_output],
86
  title="OWLv2 Demo",
87
  description="Compare two state-of-the-art zero-shot object detection models [OWLv2](https://huggingface.co/google/owlv2-base-patch16) . 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.",
88
+ # examples=[["./bee.jpg", "bee, flower", 0.16, 0.12], ["./cats.png", "cat, fishnet", 0.16, 0.12]]
89
+ examples=[["./rs_sample1.jpg", english_candidate_labels_string, 0.16, 0.12], ["./rs_sample2.jpg", english_candidate_labels_string, 0.16, 0.12]]
90
  )
91
  demo.launch(debug=True)