LPX55 commited on
Commit
980c4dc
·
verified ·
1 Parent(s): 89690a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -589,9 +589,9 @@ with gr.Blocks(css=css, fill_height=True) as demo:
589
  # outputs=[image_output],
590
  # show_progress=True,
591
  # )
592
- with gr.TabItem("SAM2.1 Segmented Mask"):
593
- with gr.Blocks() as sam_demo:
594
- sam_block = gr.load(name="spaces/LPX55/SAM2_1-Image-Predictor-Masking-Tool-CPU")
595
  # Define the action triggered by the upload_image_input change
596
  # upload_image_input.change(
597
  # fn=update_mask,
 
589
  # outputs=[image_output],
590
  # show_progress=True,
591
  # )
592
+ # with gr.TabItem("SAM2.1 Segmented Mask"):
593
+ # with gr.Blocks() as sam_demo:
594
+ # sam_block = gr.load(name="spaces/LPX55/SAM2_1-Image-Predictor-Masking-Tool-CPU")
595
  # Define the action triggered by the upload_image_input change
596
  # upload_image_input.change(
597
  # fn=update_mask,