Spaces:
Sleeping

byte-vortex commited on
Commit
46e0c21
·
verified ·
1 Parent(s): 28d35e4

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. ui/gradio_app.py +7 -5
ui/gradio_app.py CHANGED
@@ -424,11 +424,13 @@ def build_app():
424
 
425
  gr.HTML(hero_markdown())
426
 
427
- # Myco speech bubble — updated by timer
428
- bubble_display = gr.HTML(myco_talking_markdown("The forest is waking up..."))
429
-
430
- # Autonomous roam timer — every 3 seconds, pure Python movement
431
- roam_timer = gr.Timer(3)
 
 
432
 
433
  with gr.Tabs(selected="home") as tabs:
434
 
 
424
 
425
  gr.HTML(hero_markdown())
426
 
427
+ status = gr.HTML()
428
+ timer = gr.Timer(10)
429
+
430
+ timer.tick(
431
+ fn=lambda: bubble(get_myco_narrative()),
432
+ outputs=status
433
+ )
434
 
435
  with gr.Tabs(selected="home") as tabs:
436