Spaces:
Sleeping
Sleeping
Commit ·
e494bd7
1
Parent(s): 7afd4c2
update
Browse files
app.py
CHANGED
|
@@ -69,7 +69,7 @@ if PROPHET_AVAILABLE and os.path.exists(PROPHET_PATH):
|
|
| 69 |
if TENSORFLOW_AVAILABLE and os.path.exists(LSTM_PATH):
|
| 70 |
print("✅ TensorFlow imported successfully")
|
| 71 |
try:
|
| 72 |
-
lstm_model = load_model(LSTM_PATH, compile=
|
| 73 |
print("✅ LSTM model loaded:", LSTM_PATH)
|
| 74 |
except Exception:
|
| 75 |
lstm_model = None
|
|
|
|
| 69 |
if TENSORFLOW_AVAILABLE and os.path.exists(LSTM_PATH):
|
| 70 |
print("✅ TensorFlow imported successfully")
|
| 71 |
try:
|
| 72 |
+
lstm_model = load_model(LSTM_PATH, compile=True)
|
| 73 |
print("✅ LSTM model loaded:", LSTM_PATH)
|
| 74 |
except Exception:
|
| 75 |
lstm_model = None
|