(WIP) config 자동 생성 및 gate4 / 동작 검증 실패 (local RAM 부족)
This commit is contained in:
1 parent
89d9062f35
commit
c3f40899a4
25 files changed
+679
-1
No files matched your search
@@ -81,7 +81,8 @@ async def synthesize(sentences: list[str], voice: str = "nova", *,
|
||||
raise ValueError("나레이션 문장이 없다")
|
||||
|
||||
if typecast:
|
||||
spoken = await asyncio.gather(*(speak_typecast(text, typecast) for text in sentences))
|
||||
# Typecast는 동시 요청에 429를 준다. 원본도 순차로 돈다.
|
||||
spoken = [await speak_typecast(text, typecast) for text in sentences]
|
||||
else:
|
||||
spoken = await asyncio.gather(
|
||||
*(speak_openai(text, voice, speed, instructions) for text in sentences))
|
||||
|
||||
Reference in new issue
Block a user