sravan837 commited on
Commit
d51b164
·
verified ·
1 Parent(s): fc00bb4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ from PIL import Image
13
  print("--- Loading EAGLE A7 Visual System ---")
14
  try:
15
  # Point to the best.pt we trained in Project 1
16
- yolo_model = YOLO("runs/detect/eagle_a7_model/weights/best.pt")
17
  except Exception as e:
18
  print("Warning: YOLO model not found. Using default for demo.")
19
  yolo_model = YOLO("yolo11n.pt")
 
13
  print("--- Loading EAGLE A7 Visual System ---")
14
  try:
15
  # Point to the best.pt we trained in Project 1
16
+ yolo_model = YOLO("best.pt")
17
  except Exception as e:
18
  print("Warning: YOLO model not found. Using default for demo.")
19
  yolo_model = YOLO("yolo11n.pt")