Skip to content

Commit da11c28

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

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
@@ -121,7 +121,7 @@ def convert(
121121
)
122122
123123
# Parameters override config values
124-
config = TTSConfig(format="mp3", speed=1.0)
124+
config = TTSConfig(format="mp3", prosody=Prosody(speed=1.0))
125125
audio = client.tts.convert(text="Hello world", format="wav", config=config)
126126
# Result: format="wav" (parameter wins)
127127

0 commit comments

Comments
 (0)