Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- ui/gradio_app.py +19 -19
ui/gradio_app.py
CHANGED
|
@@ -306,25 +306,25 @@ def build_app():
|
|
| 306 |
|
| 307 |
with gr.Tabs(selected="home") as tabs:
|
| 308 |
with gr.Tab("๐ Home", id="home"):
|
| 309 |
-
|
| 310 |
-
|
| 311 |
-
|
| 312 |
-
|
| 313 |
-
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
|
| 321 |
-
|
| 322 |
-
|
| 323 |
-
|
| 324 |
-
|
| 325 |
-
|
| 326 |
-
|
| 327 |
-
|
| 328 |
with gr.Tab("๐ฎ Play", id="play"):
|
| 329 |
gr.HTML(game_intro_markdown())
|
| 330 |
scene = gr.HTML(forest_scene(None, EMPTY_COLLECTION, START_POSITION), elem_id="forest-scene")
|
|
|
|
| 306 |
|
| 307 |
with gr.Tabs(selected="home") as tabs:
|
| 308 |
with gr.Tab("๐ Home", id="home"):
|
| 309 |
+
gr.HTML("""
|
| 310 |
+
<div class="myco-home-card">
|
| 311 |
+
<div class="myco-home-logo">๐ MYCO</div>
|
| 312 |
+
<div class="myco-home-subtitle">An AI Forest Mystery</div>
|
| 313 |
+
<div class="myco-home-story">
|
| 314 |
+
Deep beneath the canopy, mushrooms whisper secrets that should not exist.<br>
|
| 315 |
+
Myco remembers a forest that vanished long before it was born.<br><br>
|
| 316 |
+
๐ Discover rare mushrooms, unlock forgotten memories, and uncover the truth behind the <strong>Impossible Mushroom</strong>.
|
| 317 |
+
</div>
|
| 318 |
+
</div>
|
| 319 |
+
""")
|
| 320 |
+
start_play_button = gr.Button(
|
| 321 |
+
"๐ฒ Enter the Forest",
|
| 322 |
+
variant="primary",
|
| 323 |
+
size="lg",
|
| 324 |
+
elem_classes=["forest-start-btn"]
|
| 325 |
+
)
|
| 326 |
+
gr.Markdown(f"*{hf_companion_status()}*")
|
| 327 |
+
|
| 328 |
with gr.Tab("๐ฎ Play", id="play"):
|
| 329 |
gr.HTML(game_intro_markdown())
|
| 330 |
scene = gr.HTML(forest_scene(None, EMPTY_COLLECTION, START_POSITION), elem_id="forest-scene")
|