Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ gru_model = Sequential()
|
|
| 77 |
gru_model.add(GRU(50, activation='relu', input_shape=(look_back, num_features))) # Replace with your actual GRU architecture
|
| 78 |
gru_model.add(Dense(1))
|
| 79 |
gru_model.compile(optimizer='adam', loss='mse')
|
| 80 |
-
gru_model.load_weights('gru_model_weights.h5')
|
| 81 |
|
| 82 |
lstm_scaler = pd.read_pickle('lstm_scaler.pkl')
|
| 83 |
gru_scaler = pd.read_pickle('gru_scaler.pkl')
|
|
|
|
| 77 |
gru_model.add(GRU(50, activation='relu', input_shape=(look_back, num_features))) # Replace with your actual GRU architecture
|
| 78 |
gru_model.add(Dense(1))
|
| 79 |
gru_model.compile(optimizer='adam', loss='mse')
|
| 80 |
+
gru_model.load_weights('gru_model_weights.weights.h5')
|
| 81 |
|
| 82 |
lstm_scaler = pd.read_pickle('lstm_scaler.pkl')
|
| 83 |
gru_scaler = pd.read_pickle('gru_scaler.pkl')
|