Change model weights location
This commit is contained in:
parent
bb037a4f68
commit
42469f3572
@ -5,7 +5,7 @@ from io import BytesIO
|
|||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from ultralytics import YOLO
|
from ultralytics import YOLO
|
||||||
|
|
||||||
MODEL = YOLO("best.pt")
|
MODEL = YOLO("../best.pt")
|
||||||
|
|
||||||
|
|
||||||
def predict_image(image):
|
def predict_image(image):
|
||||||
|
Loading…
Reference in New Issue
Block a user