Spaces:
awacke1
/
Runtime error

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

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(label = "Candidate Labels"), gr.Slider(0, 1, value=0.1, 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.05, label="Confidence Threshold")],
54
  outputs="annotatedimage",
55
  title="OWL 🀝 SAM",
56
  description=description,