Spaces:
Sleeping

byte-vortex commited on
Commit
ec0cf24
Β·
verified Β·
1 Parent(s): 51ee800

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. ui/gradio_app.py +15 -15
ui/gradio_app.py CHANGED
@@ -458,6 +458,20 @@ def build_app():
458
  fn=lambda: bubble(get_myco_narrative()),
459
  outputs=myco_bubble
460
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
461
 
462
  # Autonomous roam timer β€” every 5 seconds, pure Python movement
463
  roam_timer = gr.Timer(5)
@@ -538,21 +552,7 @@ def build_app():
538
 
539
  with gr.Tab("πŸ„ Myco"):
540
  render_shroom_tab()
541
-
542
- # Persistent live panel β€” sits below the tabs, visible on every tab.
543
- # Streams Myco's full log: narrative ([NARRATIVE]), in-game action
544
- # reactions ([ACTION]), and chat replies ([CHAT]).
545
- myco_live = gr.Textbox(
546
- label="πŸ„ Myco's live log (narrative / action / chat)",
547
- value="πŸ„ Myco is listening...",
548
- lines=10,
549
- max_lines=20,
550
- autoscroll=True,
551
- interactive=False,
552
- elem_id="myco-live-log",
553
- )
554
-
555
- demo.load(fn=_stream_myco, outputs=[myco_live])
556
 
557
  # ── Shared output lists ──
558
  _move_outputs = [
 
458
  fn=lambda: bubble(get_myco_narrative()),
459
  outputs=myco_bubble
460
  )
461
+
462
+ # Streams Myco's full log: narrative ([NARRATIVE]), in-game action
463
+ # reactions ([ACTION]), and chat replies ([CHAT]).
464
+ myco_live = gr.Textbox(
465
+ label="πŸ„ Myco's live log (narrative / action / chat)",
466
+ value="πŸ„ Myco is listening...",
467
+ lines=10,
468
+ max_lines=20,
469
+ autoscroll=True,
470
+ interactive=False,
471
+ elem_id="myco-live-log",
472
+ )
473
+
474
+ demo.load(fn=_stream_myco, outputs=[myco_live])
475
 
476
  # Autonomous roam timer β€” every 5 seconds, pure Python movement
477
  roam_timer = gr.Timer(5)
 
552
 
553
  with gr.Tab("πŸ„ Myco"):
554
  render_shroom_tab()
555
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
556
 
557
  # ── Shared output lists ──
558
  _move_outputs = [