Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ def train_and_forecast(
|
|
55 |
except AttributeError:
|
56 |
raise gr.Error("Upload a file with the Upload button")
|
57 |
for i in range(prediction_length//2):
|
58 |
-
df.
|
59 |
|
60 |
row_offset = offset_calculation(prediction_length, rolling_windows, len(df))
|
61 |
# prediction_length += int(len(df) * 0.1)
|
|
|
55 |
except AttributeError:
|
56 |
raise gr.Error("Upload a file with the Upload button")
|
57 |
for i in range(prediction_length//2):
|
58 |
+
df.loc[len(df.index)] = [f'predict_{i}', 0]
|
59 |
|
60 |
row_offset = offset_calculation(prediction_length, rolling_windows, len(df))
|
61 |
# prediction_length += int(len(df) * 0.1)
|