Spaces:
Runtime error
Runtime error
Update models/detection/detector.py
Browse files
models/detection/detector.py
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
import logging
|
|
|
|
| 2 |
from huggingface_hub import hf_hub_download
|
| 3 |
from ultralytics import YOLO
|
| 4 |
|
|
|
|
| 1 |
import logging
|
| 2 |
+
from PIL import Image
|
| 3 |
from huggingface_hub import hf_hub_download
|
| 4 |
from ultralytics import YOLO
|
| 5 |
|