Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -135,8 +135,8 @@ async def load_model_and_data():
|
|
| 135 |
print("DeepSight EWS Backend Starting on Hugging Face Spaces...")
|
| 136 |
print("=" * 60)
|
| 137 |
|
| 138 |
-
|
| 139 |
-
model_path = deepsight_model.pkl
|
| 140 |
if model_path.exists():
|
| 141 |
try:
|
| 142 |
with open(model_path, "rb") as f:
|
|
|
|
| 135 |
print("DeepSight EWS Backend Starting on Hugging Face Spaces...")
|
| 136 |
print("=" * 60)
|
| 137 |
|
| 138 |
+
# Try to load the model
|
| 139 |
+
model_path = MODEL_DIR / "deepsight_model.pkl"
|
| 140 |
if model_path.exists():
|
| 141 |
try:
|
| 142 |
with open(model_path, "rb") as f:
|