wuchaofang commited on
Commit
8b3f36b
·
verified ·
1 Parent(s): 8e136d5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import cv2
4
  import numpy as np
5
  import base64
6
 
7
- # 加载 YOLOv8 模型(推荐 nano 或 small 版,速度快)
8
- model = YOLO(/app/best.pt)
9
 
10
  def detect_license_plate(image):
11
  if image is None:
 
4
  import numpy as np
5
  import base64
6
 
7
+ # 加载 YOLOv8 模型
8
+ model = YOLO(https://huggingface.co/Koushim/yolov8-license-plate-detection/blob/main/best.pt)
9
 
10
  def detect_license_plate(image):
11
  if image is None: