From 3110d6d229af275fb19723ad889f72697ea24e34 Mon Sep 17 00:00:00 2001 From: martsforever Date: Sun, 16 Nov 2025 19:15:06 +0800 Subject: [PATCH] feat: optimize code --- app/controller/add_websocket_voice_recognise_route.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controller/add_websocket_voice_recognise_route.py b/app/controller/add_websocket_voice_recognise_route.py index eefc6da..899834b 100644 --- a/app/controller/add_websocket_voice_recognise_route.py +++ b/app/controller/add_websocket_voice_recognise_route.py @@ -16,7 +16,7 @@ from app.utils.bailian_voice_recognise.BaiLianVoiceRecogniseSocket import BaiLia def add_websocket_voice_recognise_route(app: FastAPI): @app.websocket("/ws_voice_recognise") async def ws_voice_recognise(receive_socket: WebSocket, user_id: str = Query(..., description="用户ID")): - print("新用户连接", user_id) + print("[音频识别]新用户连接", user_id) # 接收连接 await receive_socket.accept()