Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
@@ -9,8 +9,8 @@ from fastapi import FastAPI, File, UploadFile, Form
|
|
9 |
from utils import tts, read_image_file, pil_to_base64, base64_to_pil, get_hist
|
10 |
from typing import Optional
|
11 |
|
12 |
-
model = YOLO('ultralyticsplus/yolov8s')
|
13 |
-
CLASS = model.model.names
|
14 |
|
15 |
app = FastAPI()
|
16 |
defaul_bot_voice = "γγ―γγγγγγγΎγ"
|
|
|
9 |
from utils import tts, read_image_file, pil_to_base64, base64_to_pil, get_hist
|
10 |
from typing import Optional
|
11 |
|
12 |
+
# model = YOLO('ultralyticsplus/yolov8s')
|
13 |
+
# CLASS = model.model.names
|
14 |
|
15 |
app = FastAPI()
|
16 |
defaul_bot_voice = "γγ―γγγγγγγΎγ"
|