segments-arnaud commited on
Commit
82a3118
·
unverified ·
1 Parent(s): 7b6e051

Change type to numpy

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ if __name__ == "__main__":
77
  app = gr.Interface(
78
  fn=image_to_sam_image_embedding,
79
  inputs=[
80
- gr.inputs.Image(type="url", label="Image URL"),
81
  gr.inputs.Radio(
82
  choices=["base", "large", "huge"], label="Model Size", default="base"
83
  ),
 
77
  app = gr.Interface(
78
  fn=image_to_sam_image_embedding,
79
  inputs=[
80
+ gr.inputs.Image(label="Image URL"),
81
  gr.inputs.Radio(
82
  choices=["base", "large", "huge"], label="Model Size", default="base"
83
  ),