Spaces:
Sleeping

byte-vortex commited on
Commit
7d4e2e9
·
verified ·
1 Parent(s): 55f219a

Deploy Myco from CI

Browse files
Files changed (1) hide show
  1. ui/gradio_app.py +2 -0
ui/gradio_app.py CHANGED
@@ -19,6 +19,7 @@ from ui.renderers import dex_markdown, forest_scene, hero_markdown, mushroom_car
19
 
20
 
21
  # Keep callback signatures plain for Hugging Face Spaces parser stability.
 
22
  def explore(collection):
23
  # Keep Gradio callback signatures plain for Hugging Face Spaces parser stability.
24
  def explore(collection):
@@ -127,6 +128,7 @@ def build_app() -> gr.Blocks:
127
  dex = gr.Markdown(dex_markdown([]), elem_id="mycodex")
128
 
129
  explore_button.click(
 
130
  explore,
131
  inputs=[collection],
132
  outputs=[scene, discovery, current_mushroom, chat, dex, progress],
 
19
 
20
 
21
  # Keep callback signatures plain for Hugging Face Spaces parser stability.
22
+ def handle_explore(collection):
23
  def explore(collection):
24
  # Keep Gradio callback signatures plain for Hugging Face Spaces parser stability.
25
  def explore(collection):
 
128
  dex = gr.Markdown(dex_markdown([]), elem_id="mycodex")
129
 
130
  explore_button.click(
131
+ handle_explore,
132
  explore,
133
  inputs=[collection],
134
  outputs=[scene, discovery, current_mushroom, chat, dex, progress],