miao-zhen commited on
Commit
39050d2
·
1 Parent(s): dba842b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ import os
7
  def load_model(repo_id):
8
  download_dir = snapshot_download(repo_id)
9
  print(download_dir)
10
- path = os.path.join(download_dir, "best_model")
11
  print(path)
12
  detection_model = YOLO(path, task='detect')
13
  return detection_model
 
7
  def load_model(repo_id):
8
  download_dir = snapshot_download(repo_id)
9
  print(download_dir)
10
+ path = os.path.join(download_dir, "best_int8_openvino_model")
11
  print(path)
12
  detection_model = YOLO(path, task='detect')
13
  return detection_model