Spaces:
Sleeping
Sleeping
MSaadTariq
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ def download_models(model_id):
|
|
9 |
hf_hub_download("kadirnar/Yolov10", filename=f"{model_id}", local_dir=f"./")
|
10 |
return f"./{model_id}"
|
11 |
|
12 |
-
box_annotator = sv.BoxAnnotator(thickness=
|
13 |
category_dict = {
|
14 |
0: 'person', 1: 'bicycle', 2: 'car', 3: 'motorcycle', 4: 'airplane', 5: 'bus',
|
15 |
6: 'train', 7: 'truck', 8: 'boat', 9: 'traffic light', 10: 'fire hydrant',
|
|
|
9 |
hf_hub_download("kadirnar/Yolov10", filename=f"{model_id}", local_dir=f"./")
|
10 |
return f"./{model_id}"
|
11 |
|
12 |
+
box_annotator = sv.BoxAnnotator(thickness=2, text_scale=0.5)
|
13 |
category_dict = {
|
14 |
0: 'person', 1: 'bicycle', 2: 'car', 3: 'motorcycle', 4: 'airplane', 5: 'bus',
|
15 |
6: 'train', 7: 'truck', 8: 'boat', 9: 'traffic light', 10: 'fire hydrant',
|