Spaces:
Sleeping
Sleeping
Fix gradio 6 API: drop show_copy_button, move theme/css to launch()
Browse files
app.py
CHANGED
|
@@ -318,7 +318,7 @@ EXAMPLES = [
|
|
| 318 |
],
|
| 319 |
]
|
| 320 |
|
| 321 |
-
with gr.Blocks(
|
| 322 |
with gr.Column(elem_id="col-container"):
|
| 323 |
gr.Markdown(
|
| 324 |
"# π Molmo2Fish β interactive fish tracking\n"
|
|
@@ -350,7 +350,6 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
|
|
| 350 |
label="Model output (html-v2 tracks) β edited in place by step β‘",
|
| 351 |
lines=6,
|
| 352 |
max_lines=12,
|
| 353 |
-
show_copy_button=True,
|
| 354 |
)
|
| 355 |
|
| 356 |
with gr.Accordion("Advanced", open=False):
|
|
@@ -398,4 +397,4 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=CSS) as demo:
|
|
| 398 |
)
|
| 399 |
|
| 400 |
if __name__ == "__main__":
|
| 401 |
-
demo.launch(mcp_server=True)
|
|
|
|
| 318 |
],
|
| 319 |
]
|
| 320 |
|
| 321 |
+
with gr.Blocks(title="Molmo2Fish tracking") as demo:
|
| 322 |
with gr.Column(elem_id="col-container"):
|
| 323 |
gr.Markdown(
|
| 324 |
"# π Molmo2Fish β interactive fish tracking\n"
|
|
|
|
| 350 |
label="Model output (html-v2 tracks) β edited in place by step β‘",
|
| 351 |
lines=6,
|
| 352 |
max_lines=12,
|
|
|
|
| 353 |
)
|
| 354 |
|
| 355 |
with gr.Accordion("Advanced", open=False):
|
|
|
|
| 397 |
)
|
| 398 |
|
| 399 |
if __name__ == "__main__":
|
| 400 |
+
demo.launch(theme=gr.themes.Citrus(), css=CSS, mcp_server=True)
|