Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files- app.py +0 -2
- ui/renderers.py +0 -4
app.py
CHANGED
|
@@ -4,11 +4,9 @@ import gradio as gr
|
|
| 4 |
|
| 5 |
from ui.gradio_app import build_app
|
| 6 |
from ui.styles import APP_CSS
|
| 7 |
-
from ui.gradio_app import build_app
|
| 8 |
|
| 9 |
|
| 10 |
demo = build_app()
|
| 11 |
|
| 12 |
if __name__ == "__main__":
|
| 13 |
demo.launch(theme=gr.themes.Soft(primary_hue="green", secondary_hue="emerald"), css=APP_CSS)
|
| 14 |
-
demo.launch()
|
|
|
|
| 4 |
|
| 5 |
from ui.gradio_app import build_app
|
| 6 |
from ui.styles import APP_CSS
|
|
|
|
| 7 |
|
| 8 |
|
| 9 |
demo = build_app()
|
| 10 |
|
| 11 |
if __name__ == "__main__":
|
| 12 |
demo.launch(theme=gr.themes.Soft(primary_hue="green", secondary_hue="emerald"), css=APP_CSS)
|
|
|
ui/renderers.py
CHANGED
|
@@ -25,10 +25,6 @@ def mushroom_card(mushroom: Mushroom | None) -> str:
|
|
| 25 |
"""Render the current mushroom discovery as markdown."""
|
| 26 |
if mushroom is None:
|
| 27 |
return "### 🌲 Forest Clearing\nClick **Start Exploring** to search for a strange fungus."
|
| 28 |
-
def mushroom_card(mushroom: Mushroom | None) -> str:
|
| 29 |
-
"""Render the current mushroom discovery as markdown."""
|
| 30 |
-
if mushroom is None:
|
| 31 |
-
return "### 🌲 Forest Clearing\nClick **Explore** to search for a strange fungus."
|
| 32 |
|
| 33 |
return (
|
| 34 |
f"### 🍄 {mushroom.name}\n"
|
|
|
|
| 25 |
"""Render the current mushroom discovery as markdown."""
|
| 26 |
if mushroom is None:
|
| 27 |
return "### 🌲 Forest Clearing\nClick **Start Exploring** to search for a strange fungus."
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
|
| 29 |
return (
|
| 30 |
f"### 🍄 {mushroom.name}\n"
|