Update app.py
Browse files
app.py
CHANGED
|
@@ -2083,8 +2083,6 @@ def create_demo_interface():
|
|
| 2083 |
# Status bar with boundary badges
|
| 2084 |
status_html = components["create_status_bar"]()
|
| 2085 |
|
| 2086 |
-
# Add boundary badges as a separate element
|
| 2087 |
-
boundary_display = gr.HTML(value=boundary_badges, visible=settings.show_boundaries)
|
| 2088 |
|
| 2089 |
# ============ 5 TABS ============
|
| 2090 |
with gr.Tabs(elem_classes="tab-nav"):
|
|
@@ -2470,13 +2468,6 @@ def create_demo_interface():
|
|
| 2470 |
outputs=[license_display]
|
| 2471 |
)
|
| 2472 |
|
| 2473 |
-
# Initialize with boundary badges
|
| 2474 |
-
demo.load(
|
| 2475 |
-
fn=lambda: boundary_badges,
|
| 2476 |
-
inputs=[],
|
| 2477 |
-
outputs=[boundary_display]
|
| 2478 |
-
)
|
| 2479 |
-
|
| 2480 |
# Load default scenario - UPDATE outputs with realism_panel
|
| 2481 |
demo.load(
|
| 2482 |
fn=lambda: update_scenario_display(settings.default_scenario),
|
|
|
|
| 2083 |
# Status bar with boundary badges
|
| 2084 |
status_html = components["create_status_bar"]()
|
| 2085 |
|
|
|
|
|
|
|
| 2086 |
|
| 2087 |
# ============ 5 TABS ============
|
| 2088 |
with gr.Tabs(elem_classes="tab-nav"):
|
|
|
|
| 2468 |
outputs=[license_display]
|
| 2469 |
)
|
| 2470 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2471 |
# Load default scenario - UPDATE outputs with realism_panel
|
| 2472 |
demo.load(
|
| 2473 |
fn=lambda: update_scenario_display(settings.default_scenario),
|