feat: 支持音色切换
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from fastapi import FastAPI
|
||||
from app.api.v1.endpoints import chat, model, websocket_service
|
||||
from app.api.v1.endpoints import chat, model, websocket_service,speaker
|
||||
|
||||
app = FastAPI()
|
||||
|
||||
@@ -9,6 +9,7 @@ app.include_router(websocket_service.router, prefix="", tags=["websocket_service
|
||||
app.include_router(chat.router, prefix="/v1/chat", tags=["chat"])
|
||||
# 获取模型列表服务
|
||||
app.include_router(model.router, prefix="/v1/model", tags=["model_list"])
|
||||
app.include_router(speaker.router, prefix="/v1/speaker", tags=["speaker_list"])
|
||||
|
||||
if __name__ == "__main__":
|
||||
import uvicorn
|
||||
|
||||
Reference in New Issue
Block a user