Spaces:
Running
on
Zero
Running
on
Zero
fix typo
Browse files
app.py
CHANGED
|
@@ -30,7 +30,7 @@ sahi.utils.file.download_from_url(
|
|
| 30 |
|
| 31 |
|
| 32 |
# Model
|
| 33 |
-
model = AutoDetectionModel(
|
| 34 |
model_type="yolov5", model_path="yolov5s6.pt", device="cpu", confidence_threshold=0.5, image_size=IMAGE_SIZE
|
| 35 |
)
|
| 36 |
|
|
|
|
| 30 |
|
| 31 |
|
| 32 |
# Model
|
| 33 |
+
model = AutoDetectionModel.from_pretrained(
|
| 34 |
model_type="yolov5", model_path="yolov5s6.pt", device="cpu", confidence_threshold=0.5, image_size=IMAGE_SIZE
|
| 35 |
)
|
| 36 |
|