fix: move CSS to launch, add demo.launch
Browse files
app.py
CHANGED
|
@@ -280,7 +280,7 @@ CSS = """
|
|
| 280 |
.gradio-container {max-width: 1200px !important;}
|
| 281 |
"""
|
| 282 |
|
| 283 |
-
with gr.Blocks(
|
| 284 |
gr.Markdown("# 🏔️ Terrain Diffusion Demo")
|
| 285 |
gr.Markdown(
|
| 286 |
"Generate realistic terrain heightmaps using the "
|
|
@@ -377,4 +377,4 @@ with gr.Blocks(css=CSS, title="Terrain Diffusion Demo") as demo:
|
|
| 377 |
outputs=[relief_output, elev_output, preview_3d_output, download_output, cond_output, stats_output],
|
| 378 |
)
|
| 379 |
|
| 380 |
-
demo
|
|
|
|
| 280 |
.gradio-container {max-width: 1200px !important;}
|
| 281 |
"""
|
| 282 |
|
| 283 |
+
with gr.Blocks(title="Terrain Diffusion Demo") as demo:
|
| 284 |
gr.Markdown("# 🏔️ Terrain Diffusion Demo")
|
| 285 |
gr.Markdown(
|
| 286 |
"Generate realistic terrain heightmaps using the "
|
|
|
|
| 377 |
outputs=[relief_output, elev_output, preview_3d_output, download_output, cond_output, stats_output],
|
| 378 |
)
|
| 379 |
|
| 380 |
+
demo.launch(css=CSS)
|