Spaces:
awacke1
/
Runtime error

merve HF staff commited on
Commit
a0df961
β€’
1 Parent(s): 1f4c885

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ import gradio as gr
50
  description = "This Space combines OWLv2, the state-of-the-art zero-shot object detection model with SAM, the 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."
51
  demo = gr.Interface(
52
  query,
53
- inputs=[gr.Image(type="pil", label="Image Input"), gr.Textbox("Candidate Labels"), gr.Slider(0, 1, value=0.2, label="Confidence Threshold")],
54
  outputs="annotatedimage",
55
  title="OWL 🀝 SAM",
56
  description=description,
 
50
  description = "This Space combines OWLv2, the state-of-the-art zero-shot object detection model with SAM, the 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."
51
  demo = gr.Interface(
52
  query,
53
+ inputs=[gr.Image(type="pil", label="Image Input"), gr.Textbox(label = "Candidate Labels"), gr.Slider(0, 1, value=0.1, label="Confidence Threshold")],
54
  outputs="annotatedimage",
55
  title="OWL 🀝 SAM",
56
  description=description,