StillWorking commited on
Commit
ba4bbb9
·
verified ·
1 Parent(s): 799c0e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- # Try to load the model
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: