Spaces:
Running on Zero
Running on Zero
Upload app.py with huggingface_hub
Browse files
app.py
CHANGED
|
@@ -267,7 +267,7 @@ def _fmt(v: float) -> str:
|
|
| 267 |
# ---------------------------------------------------------------------------
|
| 268 |
# Inference
|
| 269 |
# ---------------------------------------------------------------------------
|
| 270 |
-
@spaces.GPU(duration=
|
| 271 |
def forecast(csv_file, context_len=DEFAULT_CONTEXT, horizon=DEFAULT_HORIZON,
|
| 272 |
channel="OT", progress=gr.Progress(track_tqdm=True)):
|
| 273 |
"""Forecast a time series with FlexCast.
|
|
|
|
| 267 |
# ---------------------------------------------------------------------------
|
| 268 |
# Inference
|
| 269 |
# ---------------------------------------------------------------------------
|
| 270 |
+
@spaces.GPU(duration=45)
|
| 271 |
def forecast(csv_file, context_len=DEFAULT_CONTEXT, horizon=DEFAULT_HORIZON,
|
| 272 |
channel="OT", progress=gr.Progress(track_tqdm=True)):
|
| 273 |
"""Forecast a time series with FlexCast.
|