vumichien commited on
Commit
93b2c8a
·
1 Parent(s): d49628e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -0
main.py CHANGED
@@ -11,6 +11,9 @@ from utils import tts, read_image_file, pil_to_base64, get_hist
11
  from typing import Optional
12
  from huggingface_hub import hf_hub_download
13
 
 
 
 
14
  model_path = hf_hub_download(repo_id="ultralyticsplus/yolov8s", filename='yolov8s.pt')
15
  model = YOLO(model_path)
16
  CLASS = model.model.names
 
11
  from typing import Optional
12
  from huggingface_hub import hf_hub_download
13
 
14
+ from io import BytesIO
15
+ import zipfile
16
+
17
  model_path = hf_hub_download(repo_id="ultralyticsplus/yolov8s", filename='yolov8s.pt')
18
  model = YOLO(model_path)
19
  CLASS = model.model.names