Skip to content

Commit 899f673

Browse files
committed
improved example
1 parent 7e32d67 commit 899f673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/async_tts_call.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
async def main():
1010
# Stream the TTS generation
1111
voices = await client.voice_cloning.list_voices()
12-
voice_id = voices[1]["id"]
12+
voice_id = voices[0]["id"]
1313
print(f">>> using voice id: {voice_id}")
1414
response = client.text_to_speech.tts(
15-
text="Experience ultra-low latency streaming with Camb AI.",
15+
text="Experience high quality text to speech generation using MARS Pro Model.",
1616
language="en-us",
1717
speech_model="mars-pro",
1818
voice_id=voice_id,

0 commit comments

Comments
 (0)