Spaces:
Running
Running
Emmanuel Acheampong Claude Sonnet 4.6 commited on
Commit Β·
9a22e75
1
Parent(s): d3a0294
Fix startup: move theme/css to Blocks, call launch() unconditionally
Browse files
app.py
CHANGED
|
@@ -268,7 +268,7 @@ css = """
|
|
| 268 |
footer { display: none !important; }
|
| 269 |
"""
|
| 270 |
|
| 271 |
-
with gr.Blocks(title="Crusoe Foundry β Infinite Context Demo") as demo:
|
| 272 |
|
| 273 |
# ββ Header ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 274 |
gr.HTML("""
|
|
@@ -514,5 +514,4 @@ with gr.Blocks(title="Crusoe Foundry β Infinite Context Demo") as demo:
|
|
| 514 |
""")
|
| 515 |
|
| 516 |
|
| 517 |
-
|
| 518 |
-
demo.launch(theme=gr.themes.Soft(primary_hue="blue"), css=css)
|
|
|
|
| 268 |
footer { display: none !important; }
|
| 269 |
"""
|
| 270 |
|
| 271 |
+
with gr.Blocks(title="Crusoe Foundry β Infinite Context Demo", theme=gr.themes.Soft(primary_hue="blue"), css=css) as demo:
|
| 272 |
|
| 273 |
# ββ Header ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 274 |
gr.HTML("""
|
|
|
|
| 514 |
""")
|
| 515 |
|
| 516 |
|
| 517 |
+
demo.launch()
|
|
|