multimodalart HF Staff commited on
Commit
3c6c711
·
verified ·
1 Parent(s): dc80c6b

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -122,7 +122,7 @@ CSS = """
122
  .dark .gradio-container { color: var(--body-text-color); }
123
  """
124
 
125
- with gr.Blocks(theme=gr.themes.Citrus(), css=CSS, title="P2Echo · Text-Prompted Echo Segmentation") as demo:
126
  with gr.Column(elem_id="col-container"):
127
  gr.Markdown(
128
  """
@@ -192,4 +192,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS, title="P2Echo · Text-Prompted
192
  api_name="segment",
193
  )
194
 
195
- demo.launch(mcp_server=True)
 
122
  .dark .gradio-container { color: var(--body-text-color); }
123
  """
124
 
125
+ with gr.Blocks(title="P2Echo · Text-Prompted Echo Segmentation") as demo:
126
  with gr.Column(elem_id="col-container"):
127
  gr.Markdown(
128
  """
 
192
  api_name="segment",
193
  )
194
 
195
+ demo.launch(theme=gr.themes.Citrus(), css=CSS, mcp_server=True)