Spaces:
Sleeping
Sleeping
Update app.py
#2
by
mistermprah
- opened
app.py
CHANGED
@@ -8,8 +8,8 @@ from tensorflow.keras.models import load_model
|
|
8 |
from joblib import load
|
9 |
|
10 |
# Load the saved LSTM model and scaler
|
11 |
-
lstm_model = load_model('
|
12 |
-
scaler = load('
|
13 |
|
14 |
# Define the list of stocks
|
15 |
stock_list = ['GOOG', 'AAPL', 'TSLA', 'AMZN', 'MSFT']
|
|
|
8 |
from joblib import load
|
9 |
|
10 |
# Load the saved LSTM model and scaler
|
11 |
+
lstm_model = load_model('lstm_model.h5')
|
12 |
+
scaler = load('scaler.joblib')
|
13 |
|
14 |
# Define the list of stocks
|
15 |
stock_list = ['GOOG', 'AAPL', 'TSLA', 'AMZN', 'MSFT']
|