Spaces:
Running
Running
Fixed typo: HistoricalAverage --> HistoricAverage
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ import gradio as gr
|
|
| 5 |
|
| 6 |
from statsforecast import StatsForecast
|
| 7 |
from statsforecast.models import (
|
| 8 |
-
|
| 9 |
Naive,
|
| 10 |
SeasonalNaive,
|
| 11 |
WindowAverage,
|
|
@@ -70,7 +70,7 @@ def run_forecast(
|
|
| 70 |
models = []
|
| 71 |
|
| 72 |
if use_historical_avg:
|
| 73 |
-
models.append(
|
| 74 |
if use_naive:
|
| 75 |
models.append(Naive(alias='naive'))
|
| 76 |
if use_seasonal_naive:
|
|
|
|
| 5 |
|
| 6 |
from statsforecast import StatsForecast
|
| 7 |
from statsforecast.models import (
|
| 8 |
+
HistoricAverage,
|
| 9 |
Naive,
|
| 10 |
SeasonalNaive,
|
| 11 |
WindowAverage,
|
|
|
|
| 70 |
models = []
|
| 71 |
|
| 72 |
if use_historical_avg:
|
| 73 |
+
models.append(HistoricAverage(alias='historical_average'))
|
| 74 |
if use_naive:
|
| 75 |
models.append(Naive(alias='naive'))
|
| 76 |
if use_seasonal_naive:
|