Abijith commited on
Commit
ecf09db
·
1 Parent(s): 722bfc4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -154,8 +154,8 @@ main_scribble = gr.Interface(
154
  inputs=
155
  gr.ImageMask(label="[Stroke] Draw on Image", type='pil'),
156
  outputs=[
157
- gr.components.outputs.Image(type="pil", label="Mask with Image"),
158
- gr.components.outputs.Image(type="pil", label="Mask")
159
  ],
160
  allow_flagging="never",
161
  title="SAM based Segment Annotator.",
@@ -166,4 +166,4 @@ main_scribble = gr.Interface(
166
  "./cardamage_example/0206.JPEG"
167
  ]
168
  )
169
- main_scribble.launch(share=True)
 
154
  inputs=
155
  gr.ImageMask(label="[Stroke] Draw on Image", type='pil'),
156
  outputs=[
157
+ gr.outputs.Image(type="pil", label="Mask with Image"),
158
+ gr.outputs.Image(type="pil", label="Mask")
159
  ],
160
  allow_flagging="never",
161
  title="SAM based Segment Annotator.",
 
166
  "./cardamage_example/0206.JPEG"
167
  ]
168
  )
169
+ main_scribble.launch()