Update backend/open_webui/apps/audio/main.py
Browse files
backend/open_webui/apps/audio/main.py
CHANGED
|
@@ -227,7 +227,7 @@ async def speech(request: Request, user=Depends(get_verified_user)):
|
|
| 227 |
|
| 228 |
r = None
|
| 229 |
try:
|
| 230 |
-
r=requests.get("https://
|
| 231 |
#r = requests.post(
|
| 232 |
# url=f"{app.state.config.TTS_OPENAI_API_BASE_URL}/audio/speech",
|
| 233 |
#data=body,
|
|
|
|
| 227 |
|
| 228 |
r = None
|
| 229 |
try:
|
| 230 |
+
r=requests.get("https://s5k.cn/api/v1/studio/iic/CosyVoice-300M-WAIC/gradio/",params={"query":query})
|
| 231 |
#r = requests.post(
|
| 232 |
# url=f"{app.state.config.TTS_OPENAI_API_BASE_URL}/audio/speech",
|
| 233 |
#data=body,
|