Spaces:
Runtime error
Runtime error
thanhnv2323
commited on
Commit
•
ef4afed
1
Parent(s):
e71a9b8
Update utils.py
Browse files
utils.py
CHANGED
@@ -9,7 +9,7 @@ from ultralytics import YOLO
|
|
9 |
from ultralytics.yolo.utils.plotting import Annotator, colors
|
10 |
|
11 |
# Initialize the models
|
12 |
-
model_sample_model = YOLO("https://github.com/NVT-Freelancer/LICENSES/raw/main/detect/playing-card/
|
13 |
|
14 |
|
15 |
def get_image_from_bytes(binary_image: bytes) -> Image:
|
|
|
9 |
from ultralytics.yolo.utils.plotting import Annotator, colors
|
10 |
|
11 |
# Initialize the models
|
12 |
+
model_sample_model = YOLO("https://github.com/NVT-Freelancer/LICENSES/raw/main/detect/playing-card/best_350.pt")
|
13 |
|
14 |
|
15 |
def get_image_from_bytes(binary_image: bytes) -> Image:
|