a10 commited on
Commit
8485ab7
·
1 Parent(s): 25a04de

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -209,10 +209,10 @@ if ("0" == "mycustom"):
209
  if ("0" != "mycustom"):
210
  x_train = train_data[[i for i in range(len(myfields))]].values
211
 
212
- st.write(start,end)
213
- st.dataframe(features)
214
-
215
- y_train = features.iloc[start:end][[1]]
216
 
217
  sequence_length = int(past / step)
218
  x_end = len(val_data) - past - future
 
209
  if ("0" != "mycustom"):
210
  x_train = train_data[[i for i in range(len(myfields))]].values
211
 
212
+ if ("0" == "mycustom"):
213
+ y_train = features.iloc[start:end][[1]]
214
+ if ("0" != "mycustom"):
215
+ y_train = features.iloc[start:end][[0]]
216
 
217
  sequence_length = int(past / step)
218
  x_end = len(val_data) - past - future