Spaces:
Sleeping
Sleeping
andrewkatumba
commited on
Commit
•
7b80544
1
Parent(s):
6c899dd
Basic description edits
Browse files
app.py
CHANGED
@@ -59,7 +59,7 @@ def query(image, texts, threshold):
|
|
59 |
|
60 |
import gradio as gr
|
61 |
|
62 |
-
description = "This Space combines OWLv2,
|
63 |
demo = gr.Interface(
|
64 |
query,
|
65 |
inputs=[gr.Image(type="pil", label="Image Input"), gr.Textbox(label = "Candidate Labels"), gr.Slider(0, 1, value=0.05, label="Confidence Threshold")],
|
|
|
59 |
|
60 |
import gradio as gr
|
61 |
|
62 |
+
description = "This Demo Space prepare for DSA2024 combines OWLv2, a state-of-the-art zero-shot object detection model, with SAM, a state-of-the-art mask generation model. SAM normally doesn't accept text input. Combining SAM with OWLv2 makes SAM text promptable. Try the example or input an image and comma separated candidate labels to segment."
|
63 |
demo = gr.Interface(
|
64 |
query,
|
65 |
inputs=[gr.Image(type="pil", label="Image Input"), gr.Textbox(label = "Candidate Labels"), gr.Slider(0, 1, value=0.05, label="Confidence Threshold")],
|