Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,13 +1,11 @@
|
|
| 1 |
"""
|
| 2 |
app.py
|
| 3 |
======
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
Imports the UI from ui_components.py and launches.
|
| 7 |
-
This file intentionally contains no logic or layout.
|
| 8 |
"""
|
| 9 |
|
| 10 |
-
from
|
|
|
|
| 11 |
|
| 12 |
demo = build_demo()
|
| 13 |
-
demo.launch()
|
|
|
|
| 1 |
"""
|
| 2 |
app.py
|
| 3 |
======
|
| 4 |
+
Entry point only. Imports layout and styles, then launches.
|
|
|
|
|
|
|
|
|
|
| 5 |
"""
|
| 6 |
|
| 7 |
+
from ui_layout import build_demo
|
| 8 |
+
from ui_styles import THEME, CSS
|
| 9 |
|
| 10 |
demo = build_demo()
|
| 11 |
+
demo.launch(theme=THEME, css=CSS)
|