Spaces:
Sleeping
Sleeping
Deploy Myco from CI
Browse files- ui/gradio_app.py +0 -11
ui/gradio_app.py
CHANGED
|
@@ -1,14 +1,3 @@
|
|
| 1 |
-
# Use the roam sound as the "default" instead of None
|
| 2 |
-
roam_sound = "assets/sounds/bot_roam.wav"
|
| 3 |
-
pickup_sound = "assets/sounds/mushroom_pickup.wav"
|
| 4 |
-
|
| 5 |
-
# Add the cache buster ?t=... to force the browser to re-play the file
|
| 6 |
-
import time
|
| 7 |
-
|
| 8 |
-
sound_to_play = f"{pickup_sound}?t={time.time()}" if len(coll) > initial_coll_len else f"{roam_sound}?t={time.time()}"
|
| 9 |
-
|
| 10 |
-
print(f"DEBUG: Attempting to play sound: {sound_to_play}")
|
| 11 |
-
|
| 12 |
"""Gradio game UI for Myco — LLM-powered forest adventure."""
|
| 13 |
|
| 14 |
import ast
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
"""Gradio game UI for Myco — LLM-powered forest adventure."""
|
| 2 |
|
| 3 |
import ast
|