mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
remove whitespace
This commit is contained in:
parent
562710fe33
commit
c62f30e22c
1 changed files with 0 additions and 2 deletions
|
|
@ -4,7 +4,6 @@ import logging
|
|||
import os
|
||||
import uuid
|
||||
from functools import lru_cache
|
||||
|
||||
from pydub import AudioSegment
|
||||
from pydub.silence import split_on_silence
|
||||
from concurrent.futures import ThreadPoolExecutor
|
||||
|
|
@ -338,7 +337,6 @@ async def speech(request: Request, user=Depends(get_verified_user)):
|
|||
async with aiohttp.ClientSession(
|
||||
timeout=timeout, trust_env=True
|
||||
) as session:
|
||||
|
||||
r = await session.post(
|
||||
url=urljoin(request.app.state.config.TTS_OPENAI_API_BASE_URL, "/audio/speech"),
|
||||
json=payload,
|
||||
|
|
|
|||
Loading…
Reference in a new issue