add api server

This commit is contained in:
Daiki Arai
2023-12-28 23:58:06 +09:00
parent a3d0380523
commit e27e1de450
6 changed files with 292 additions and 699 deletions

View File

@@ -65,17 +65,8 @@ webui:
language_identification_library: "langid"
# server_fastapi's config
# TODO: `server_fastapi.py` is not implemented yet for this version
server:
port: 5000
device: "cuda"
models:
- model: ""
config: ""
device: "cuda"
language: "ZH"
- model: ""
config: ""
device: "cpu"
language: "JP"
speakers: []
language: "JP"
limit: 100