Commit ·
93d86d5
1
Parent(s): 0e670a8
Increase TTS timeout from 30s to 120s
Browse files
modules/video_creator/services/libraries/tts_client.py
CHANGED
|
@@ -43,7 +43,7 @@ class TTSClient:
|
|
| 43 |
"voice": voice
|
| 44 |
},
|
| 45 |
headers={"Content-Type": "application/json"},
|
| 46 |
-
timeout=aiohttp.ClientTimeout(total=
|
| 47 |
) as response:
|
| 48 |
if response.status != 200:
|
| 49 |
error_text = await response.text()
|
|
|
|
| 43 |
"voice": voice
|
| 44 |
},
|
| 45 |
headers={"Content-Type": "application/json"},
|
| 46 |
+
timeout=aiohttp.ClientTimeout(total=120)
|
| 47 |
) as response:
|
| 48 |
if response.status != 200:
|
| 49 |
error_text = await response.text()
|