Skip to content

Commit 2bb2a04

Browse files
twangodevCopilot
andauthored
Update src/fishaudio/resources/tts.py
Co-authored-by: Copilot <[email protected]>
1 parent da11c28 commit 2bb2a04

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fishaudio/resources/tts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ async def convert(
370370
)
371371
372372
# Parameters override config values
373-
config = TTSConfig(format="mp3", speed=1.0)
373+
config = TTSConfig(format="mp3", prosody=Prosody(speed=1.0))
374374
audio = await client.tts.convert(text="Hello world", format="wav", config=config)
375375
# Result: format="wav" (parameter wins)
376376

0 commit comments

Comments
 (0)