Spaces:
Runtime error
Runtime error
fix bug
Browse files
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(
|
|
|
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()
|