Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ from ultralytics import YOLO
|
|
11 |
# ======================= 袦袨袛袝袥鞋 ===================================
|
12 |
model_name = "yolov11m_best.pt"
|
13 |
model_path = Path(__file__).with_name(model_name)
|
14 |
-
model = YOLO(
|
15 |
|
16 |
# ================== 效孝袝袧袠袝 袧袗袟袙袗袧袠袡 袠 笑袝袧 =======================
|
17 |
# with open('Fruit_Veggies_Price.json', 'r', encoding='utf-8') as file:
|
|
|
11 |
# ======================= 袦袨袛袝袥鞋 ===================================
|
12 |
model_name = "yolov11m_best.pt"
|
13 |
model_path = Path(__file__).with_name(model_name)
|
14 |
+
model = YOLO("yolov11m_best.pt")
|
15 |
|
16 |
# ================== 效孝袝袧袠袝 袧袗袟袙袗袧袠袡 袠 笑袝袧 =======================
|
17 |
# with open('Fruit_Veggies_Price.json', 'r', encoding='utf-8') as file:
|