소스 검색

removed test code.

Adam 1 개월 전
부모
커밋
39ae9167ee
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      backend/open_webui/routers/audio.py

+ 0 - 1
backend/open_webui/routers/audio.py

@@ -307,7 +307,6 @@ def load_speech_pipeline(request):
 @router.post("/speech")
 async def speech(request: Request, user=Depends(get_verified_user)):
     body = await request.body()
-    tts_model = request.app.state.config.TTS_MODEL
     name = hashlib.sha256(
         body
         + str(request.app.state.config.TTS_ENGINE).encode("utf-8")