Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- 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 handle_explore(collection):
|
| 23 |
def explore(collection):
|
| 24 |
# Keep Gradio callback signatures plain for Hugging Face Spaces parser stability.
|
|
@@ -128,6 +129,7 @@ def build_app() -> gr.Blocks:
|
|
| 128 |
dex = gr.Markdown(dex_markdown([]), elem_id="mycodex")
|
| 129 |
|
| 130 |
explore_button.click(
|
|
|
|
| 131 |
handle_explore,
|
| 132 |
explore,
|
| 133 |
inputs=[collection],
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
# Keep callback signatures plain for Hugging Face Spaces parser stability.
|
| 22 |
+
def start_exploring(collection):
|
| 23 |
def handle_explore(collection):
|
| 24 |
def explore(collection):
|
| 25 |
# Keep Gradio callback signatures plain for Hugging Face Spaces parser stability.
|
|
|
|
| 129 |
dex = gr.Markdown(dex_markdown([]), elem_id="mycodex")
|
| 130 |
|
| 131 |
explore_button.click(
|
| 132 |
+
start_exploring,
|
| 133 |
handle_explore,
|
| 134 |
explore,
|
| 135 |
inputs=[collection],
|