Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- ui/interface.py +11 -10
ui/interface.py
CHANGED
|
@@ -247,14 +247,15 @@ def myco_animation_card_markdown() -> str:
|
|
| 247 |
def render_shroom_tab():
|
| 248 |
"""
|
| 249 |
Houses layout rendering parameters within a dedicated component ecosystem.
|
| 250 |
-
|
| 251 |
-
|
| 252 |
-
>>> from interface import render_shroom_tab
|
| 253 |
-
>>> with gr.Tab("Shroom"):
|
| 254 |
-
>>> render_shroom_tab()
|
| 255 |
"""
|
| 256 |
-
gr.
|
| 257 |
-
|
| 258 |
-
|
| 259 |
-
|
| 260 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 247 |
def render_shroom_tab():
|
| 248 |
"""
|
| 249 |
Houses layout rendering parameters within a dedicated component ecosystem.
|
| 250 |
+
Splits the interface into two sub-tabs for clean organization.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
"""
|
| 252 |
+
with gr.Tabs():
|
| 253 |
+
# First Sub-Tab: The Animation Card
|
| 254 |
+
with gr.Tab("🔮 Mutation Matrix"):
|
| 255 |
+
gr.HTML(value=myco_animation_card_markdown())
|
| 256 |
+
|
| 257 |
+
# Second Sub-Tab: The Environment Controls
|
| 258 |
+
with gr.Tab("🎛️ Lab Controls"):
|
| 259 |
+
with gr.Group():
|
| 260 |
+
gr.Markdown("### 🔬 Laboratory Environment Controls")
|
| 261 |
+
gr.Markdown("Interact with the mutation matrix card in the previous tab to sync audio contexts.")
|