Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -67,7 +67,8 @@ description = "This Space combines OWLv2, the state-of-the-art zero-shot object
|
|
67 |
demo = gr.Interface(
|
68 |
query,
|
69 |
inputs=[gr.Image(type="pil", label="Image Input"), gr.Textbox(label = "Candidate Labels"), gr.Slider(0, 1, value=0.05, label="Confidence Threshold")],
|
70 |
-
outputs="annotatedimage",
|
|
|
71 |
title="OWL 🤝 SAM",
|
72 |
description=description,
|
73 |
examples=[
|
|
|
67 |
demo = gr.Interface(
|
68 |
query,
|
69 |
inputs=[gr.Image(type="pil", label="Image Input"), gr.Textbox(label = "Candidate Labels"), gr.Slider(0, 1, value=0.05, label="Confidence Threshold")],
|
70 |
+
# outputs="annotatedimage", #comment this out - it looks weird
|
71 |
+
outputs=gr.AnnotatedImage(label="Segmented Image"),
|
72 |
title="OWL 🤝 SAM",
|
73 |
description=description,
|
74 |
examples=[
|