mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
removed test code.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user