0llheaven commited on
Commit
4b54e17
·
verified ·
1 Parent(s): 922cc8e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ import numpy as np
6
  from ultralytics import YOLO
7
 
8
  # โหลดโมเดล YOLOv8 ที่ฝึกมาเอง
9
- model = YOLO('best_V5.pt') # เปลี่ยน 'best_V5.pt' เป็นโมเดลของคุณ
10
 
11
  def predict(image):
12
  # ทำการทำนาย
 
6
  from ultralytics import YOLO
7
 
8
  # โหลดโมเดล YOLOv8 ที่ฝึกมาเอง
9
+ model = YOLO('epoch80.pt') # เปลี่ยน 'best_V5.pt' เป็นโมเดลของคุณ
10
 
11
  def predict(image):
12
  # ทำการทำนาย