prithivMLmods commited on
Commit
38a3285
·
verified ·
1 Parent(s): a4b2f6e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -309,7 +309,7 @@ custom_css="""
309
  #main-title h1 { font-size: 2.1em !important; }
310
  """
311
 
312
- with gr.Blocks(css=custom_css, theme=app_theme) as demo:
313
  with gr.Column(elem_id="col-container"):
314
  gr.Markdown("# **SAM3: Segment Anything Model 3**", elem_id="main-title")
315
  gr.Markdown("Segment objects in image or video using **SAM3** with Text Prompts or Interactive Clicks.")
@@ -404,4 +404,4 @@ with gr.Blocks(css=custom_css, theme=app_theme) as demo:
404
  )
405
 
406
  if __name__ == "__main__":
407
- demo.launch(ssr_mode=False, mcp_server=True, show_error=True)
 
309
  #main-title h1 { font-size: 2.1em !important; }
310
  """
311
 
312
+ with gr.Blocks() as demo:
313
  with gr.Column(elem_id="col-container"):
314
  gr.Markdown("# **SAM3: Segment Anything Model 3**", elem_id="main-title")
315
  gr.Markdown("Segment objects in image or video using **SAM3** with Text Prompts or Interactive Clicks.")
 
404
  )
405
 
406
  if __name__ == "__main__":
407
+ demo.launch(css=custom_css, theme=app_theme, ssr_mode=False, mcp_server=True, show_error=True)