Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ def train_and_forecast(
|
|
56 |
raise gr.Error("Upload a file with the Upload button")
|
57 |
|
58 |
row_offset = offset_calculation(prediction_length, rolling_windows, len(df))
|
59 |
-
|
60 |
try:
|
61 |
gluon_df = PandasDataset(df, target=df.columns[0])
|
62 |
except TypeError:
|
|
|
56 |
raise gr.Error("Upload a file with the Upload button")
|
57 |
|
58 |
row_offset = offset_calculation(prediction_length, rolling_windows, len(df))
|
59 |
+
prediction_length += int(len(df) * 0.1)
|
60 |
try:
|
61 |
gluon_df = PandasDataset(df, target=df.columns[0])
|
62 |
except TypeError:
|