adirik commited on
Commit
88465f9
·
1 Parent(s): 556285f
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -60,10 +60,10 @@ can also use the score threshold slider to set a threshold to filter out low pro
60
  """
61
  demo = gr.Interface(
62
  query_image,
63
- inputs=[gr.Image(shape=(768, 768)), "text", gr.Slider(0, 1, value=0.1),],
64
  outputs="image",
65
  title="Zero-Shot Object Detection with OWL-ViT",
66
  description=description,
67
  examples=[["assets/astronaut.png", "human face, rocket, flag, nasa badge"], ["assets/coffee.png", "coffee mug, spoon, plate"]],
68
  )
69
- demo.launch(debug=True)
 
60
  """
61
  demo = gr.Interface(
62
  query_image,
63
+ inputs=[gr.Image(shape=(768, 768)), "text", gr.Slider(0, 1, value=0.1)],
64
  outputs="image",
65
  title="Zero-Shot Object Detection with OWL-ViT",
66
  description=description,
67
  examples=[["assets/astronaut.png", "human face, rocket, flag, nasa badge"], ["assets/coffee.png", "coffee mug, spoon, plate"]],
68
  )
69
+ demo.launch()