mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
removed test code.
This commit is contained in:
parent
20b6902b9f
commit
39ae9167ee
1 changed files with 0 additions and 1 deletions
|
|
@ -307,7 +307,6 @@ def load_speech_pipeline(request):
|
||||||
@router.post("/speech")
|
@router.post("/speech")
|
||||||
async def speech(request: Request, user=Depends(get_verified_user)):
|
async def speech(request: Request, user=Depends(get_verified_user)):
|
||||||
body = await request.body()
|
body = await request.body()
|
||||||
tts_model = request.app.state.config.TTS_MODEL
|
|
||||||
name = hashlib.sha256(
|
name = hashlib.sha256(
|
||||||
body
|
body
|
||||||
+ str(request.app.state.config.TTS_ENGINE).encode("utf-8")
|
+ str(request.app.state.config.TTS_ENGINE).encode("utf-8")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue