multimodalart HF Staff commited on
Commit
59e67b9
·
verified ·
1 Parent(s): 4ea7a41

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -267,7 +267,7 @@ def _fmt(v: float) -> str:
267
  # ---------------------------------------------------------------------------
268
  # Inference
269
  # ---------------------------------------------------------------------------
270
- @spaces.GPU(duration=120)
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.