jesoteric commited on
Commit
abec3b6
·
1 Parent(s): 9b47aa2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -23
app.py CHANGED
@@ -329,27 +329,4 @@ if __name__ == "__main__":
329
  show_label=False, elem_id="gallery"
330
  ).style(preview=True, grid=2, object_fit="scale-down")
331
 
332
- iface = gr.Interface(
333
- run_grounded_sam,
334
- inputs=[
335
- input_image,
336
- text_prompt,
337
- task_type,
338
- inpaint_prompt,
339
- box_threshold,
340
- text_threshold,
341
- iou_threshold,
342
- inpaint_mode
343
- ],
344
- outputs=gallery,
345
- title="Grounded SAM demo",
346
- description="This is an interactive demo for the Grounded SAM.",
347
- layout="vertical",
348
- theme="light",
349
- live=True
350
- )
351
-
352
- if args.no_gradio_queue:
353
- iface.launch(debug=args.debug, share=args.share, show_error=True)
354
- else:
355
  block.launch(debug=args.debug, share=args.share, show_error=True)
 
329
  show_label=False, elem_id="gallery"
330
  ).style(preview=True, grid=2, object_fit="scale-down")
331
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  block.launch(debug=args.debug, share=args.share, show_error=True)