Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
-
|
213 |
-
|
214 |
-
|
215 |
-
y_train = features.iloc[start:end][[
|
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
|