Spaces:
Configuration error
Configuration error
Commit ·
4a2cf36
1
Parent(s): c693372
fix: move css= from demo.launch() to gr.Blocks() (Gradio 5 API)
Browse files
app.py
CHANGED
|
@@ -896,8 +896,8 @@ def run_app(latitude, longitude, start_date, end_date):
|
|
| 896 |
# ============================================================
|
| 897 |
|
| 898 |
with gr.Blocks(
|
| 899 |
-
title="TerraVision — Sentinel-2 Super Resolution"
|
| 900 |
-
|
| 901 |
) as demo:
|
| 902 |
|
| 903 |
# ========================================================
|
|
@@ -1184,4 +1184,4 @@ with gr.Blocks(
|
|
| 1184 |
|
| 1185 |
print("✅ TerraVision UI + Interactive Map created successfully!")
|
| 1186 |
|
| 1187 |
-
demo.launch(
|
|
|
|
| 896 |
# ============================================================
|
| 897 |
|
| 898 |
with gr.Blocks(
|
| 899 |
+
title="TerraVision — Sentinel-2 Super Resolution",
|
| 900 |
+
css=custom_css
|
| 901 |
) as demo:
|
| 902 |
|
| 903 |
# ========================================================
|
|
|
|
| 1184 |
|
| 1185 |
print("✅ TerraVision UI + Interactive Map created successfully!")
|
| 1186 |
|
| 1187 |
+
demo.launch()
|