Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -253,9 +253,9 @@ def get_latest_data_sequence(sequence_length: int, latitude: float, longitude: f
|
|
| 253 |
|
| 254 |
# --- Define paths to your saved files ---
|
| 255 |
# Use relative paths assuming files are in the root directory of the Space
|
| 256 |
-
MODEL_PATH = '
|
| 257 |
-
INPUT_SCALER_PATH = '
|
| 258 |
-
TARGET_SCALER_PATH = '
|
| 259 |
# Y_SCALER_TRAIN_PATH = 'y_scaler_train.pkl' # Keep commented out unless you find a specific use for it in the inverse transform
|
| 260 |
|
| 261 |
|
|
|
|
| 253 |
|
| 254 |
# --- Define paths to your saved files ---
|
| 255 |
# Use relative paths assuming files are in the root directory of the Space
|
| 256 |
+
MODEL_PATH = 'best_model_TKAN_nahead_1.keras'
|
| 257 |
+
INPUT_SCALER_PATH = 'input_scaler.pkl'
|
| 258 |
+
TARGET_SCALER_PATH = 'target_scaler.pkl' # This should be the scaler for the ratio
|
| 259 |
# Y_SCALER_TRAIN_PATH = 'y_scaler_train.pkl' # Keep commented out unless you find a specific use for it in the inverse transform
|
| 260 |
|
| 261 |
|