Spaces:
Runtime error
Runtime error
thanhnv2323
commited on
Commit
•
e3cf8ff
1
Parent(s):
b3c21fa
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/
|
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_320.pt")
|
13 |
|
14 |
|
15 |
def get_image_from_bytes(binary_image: bytes) -> Image:
|