Ashegh-Sad-Warrior commited on
Commit
b23026a
1 Parent(s): 8d4f977

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ import tempfile
11
  import os
12
 
13
  # بررسی وجود فایل مدل
14
- if os.path.exists('best.pt'):
15
  print("Model file found.")
16
  else:
17
  print("Model file not found. Please upload 'best.pt' to the Space.")
 
11
  import os
12
 
13
  # بررسی وجود فایل مدل
14
+ if os.path.exists('weights/best.pt'):
15
  print("Model file found.")
16
  else:
17
  print("Model file not found. Please upload 'best.pt' to the Space.")