Spaces:
Sleeping

byte-vortex commited on
Commit
b30a564
Β·
verified Β·
1 Parent(s): e5d0b38

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. ui/gradio_app.py +14 -14
ui/gradio_app.py CHANGED
@@ -458,20 +458,6 @@ def build_app():
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,6 +538,20 @@ def build_app():
552
 
553
  with gr.Tab("πŸ„ Myco"):
554
  render_shroom_tab()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555
 
556
 
557
  # ── Shared output lists ──
 
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
 
539
  with gr.Tab("πŸ„ Myco"):
540
  render_shroom_tab()
541
+
542
+ # Streams Myco's full log: narrative ([NARRATIVE]), in-game action
543
+ # reactions ([ACTION]), and chat replies ([CHAT]).
544
+ myco_live = gr.Textbox(
545
+ label="πŸ„ Myco's live log (narrative / action / chat)",
546
+ value="πŸ„ Myco is listening...",
547
+ lines=10,
548
+ max_lines=20,
549
+ autoscroll=True,
550
+ interactive=False,
551
+ elem_id="myco-live-log",
552
+ )
553
+
554
+ demo.load(fn=_stream_myco, outputs=[myco_live])
555
 
556
 
557
  # ── Shared output lists ──