Spaces:
Running on Zero
Running on Zero
Tighten GPU duration to 60s (measured ~12s worst-case GPU time)
Browse files
app.py
CHANGED
|
@@ -262,7 +262,7 @@ def _render(x_hat_np, timestamp, display_labels):
|
|
| 262 |
# --------------------------------------------------------------------------------------
|
| 263 |
# Inference
|
| 264 |
# --------------------------------------------------------------------------------------
|
| 265 |
-
@spaces.GPU(duration=
|
| 266 |
def decompress_and_visualize(timestamp: str, display_labels: list, progress=gr.Progress()):
|
| 267 |
"""Decompress a CRA5 binary stream into a global weather field and visualise it.
|
| 268 |
|
|
|
|
| 262 |
# --------------------------------------------------------------------------------------
|
| 263 |
# Inference
|
| 264 |
# --------------------------------------------------------------------------------------
|
| 265 |
+
@spaces.GPU(duration=60)
|
| 266 |
def decompress_and_visualize(timestamp: str, display_labels: list, progress=gr.Progress()):
|
| 267 |
"""Decompress a CRA5 binary stream into a global weather field and visualise it.
|
| 268 |
|