Spaces:
Sleeping

byte-vortex commited on
Commit
29518ec
·
verified ·
1 Parent(s): cbd30ea

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. 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
- You can import this directly into your main app layout file via:
251
-
252
- >>> from interface import render_shroom_tab
253
- >>> with gr.Tab("Shroom"):
254
- >>> render_shroom_tab()
255
  """
256
- gr.HTML(value=myco_animation_card_markdown())
257
-
258
- with gr.Group():
259
- gr.Markdown("### 🔬 Laboratory Environment Controls")
260
- gr.Markdown("Interact with the mutation matrix card above to sync audio contexts.")
 
 
 
 
 
 
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.")