Modified weights path
Browse files
app.py
CHANGED
@@ -95,7 +95,7 @@ y_train, y_test = y[:split_index], y[split_index:]
|
|
95 |
model = build_lstm_model(X_train, output_size=1, neurons=lstm_neurons, dropout=dropout, loss=loss, optimizer=optimizer)
|
96 |
|
97 |
# Saved Weights
|
98 |
-
file_path = "LSTM_" + ticker + "_weights.h5"
|
99 |
|
100 |
# Loads the weights
|
101 |
model.load_weights(file_path)
|
|
|
95 |
model = build_lstm_model(X_train, output_size=1, neurons=lstm_neurons, dropout=dropout, loss=loss, optimizer=optimizer)
|
96 |
|
97 |
# Saved Weights
|
98 |
+
file_path = "./LSTM_" + ticker + "_weights.h5"
|
99 |
|
100 |
# Loads the weights
|
101 |
model.load_weights(file_path)
|