vumichien commited on
Commit
98c8c88
Β·
1 Parent(s): c862e44

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -5
main.py CHANGED
@@ -9,12 +9,12 @@ 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('/home/user/app/yolov8s.pt')
13
- CLASS = model.model.names
14
 
15
- app = FastAPI()
16
- defaul_bot_voice = "γŠγ―γ„γ‚ˆγ†γ”γ–γ„γΎγ™"
17
- area_thres = 0.3
18
  app = FastAPI()
19
 
20
  @app.get("/")
 
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('/home/user/app/yolov8s.pt')
13
+ # CLASS = model.model.names
14
 
15
+ # app = FastAPI()
16
+ # defaul_bot_voice = "γŠγ―γ„γ‚ˆγ†γ”γ–γ„γΎγ™"
17
+ # area_thres = 0.3
18
  app = FastAPI()
19
 
20
  @app.get("/")