kaxap commited on
Commit
0d9d644
·
1 Parent(s): 1351d6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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: