yoloKYS commited on
Commit
7863bc5
·
verified ·
1 Parent(s): 89562ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -5,10 +5,9 @@ import numpy as np
5
  import sys, os
6
 
7
  # ---- Add forked YOLOv12 code to Python path ----
8
- fork_ultra_path = os.path.join(os.path.dirname(__file__), "yolov12-main", "yolov12-main", "ultralytics")
9
  sys.path.insert(0, fork_ultra_path)
10
 
11
-
12
  # ---- Now import YOLO from the fork, not from pip ----
13
  from ultralytics import YOLO
14
 
 
5
  import sys, os
6
 
7
  # ---- Add forked YOLOv12 code to Python path ----
8
+ fork_ultra_path = os.path.join(os.path.dirname(__file__), "yolov12-main", "yolov12-main")
9
  sys.path.insert(0, fork_ultra_path)
10
 
 
11
  # ---- Now import YOLO from the fork, not from pip ----
12
  from ultralytics import YOLO
13