Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -122,7 +122,7 @@ CSS = """
|
|
| 122 |
.dark .gradio-container { color: var(--body-text-color); }
|
| 123 |
"""
|
| 124 |
|
| 125 |
-
with gr.Blocks(
|
| 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)
|