Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async def main():

# STEP 2 Call the save method on the asyncspeak property
options = SpeakOptions(
model="aura-asteria-en",
model="aura-2-thalia-en",
)

response = await deepgram.speak.asyncrest.v("1").save(
Expand Down
2 changes: 1 addition & 1 deletion examples/text-to-speech/rest/file/hello_world/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main():

# STEP 2 Call the save method on the speak property
options = SpeakOptions(
model="aura-asteria-en",
model="aura-2-thalia-en",
)

response = deepgram.speak.rest.v("1").save(filename, SPEAK_TEXT, options)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main():

# STEP 2 Call the save method on the speak property
options = {
"model": "aura-asteria-en",
"model": "aura-2-thalia-en",
}

response = deepgram.speak.rest.v("1").save(filename, SPEAK_TEXT, options)
Expand Down
2 changes: 1 addition & 1 deletion examples/text-to-speech/rest/file/woodchuck/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main():

# STEP 2 Call the save method on the speak property
options = SpeakOptions(
model="aura-asteria-en",
model="aura-2-thalia-en",
)

response = deepgram.speak.rest.v("1").save(filename, SPEAK_TEXT, options)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async def main():

# STEP 2 Call the save method on the asyncspeak property
options = SpeakOptions(
model="aura-asteria-en",
model="aura-2-thalia-en",
)

response = await deepgram.speak.asyncrest.v("1").stream_memory(
Expand Down
2 changes: 1 addition & 1 deletion examples/text-to-speech/rest/memory/hello_world/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main():

# STEP 2 Call the save method on the speak property
options = SpeakOptions(
model="aura-asteria-en",
model="aura-2-thalia-en",
)

response = deepgram.speak.rest.v("1").stream_memory(SPEAK_TEXT, options)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async def main():

# STEP 2 Call the save method on the asyncspeak property
options = SpeakOptions(
model="aura-asteria-en",
model="aura-2-thalia-en",
)

response = await deepgram.speak.asyncrest.v("1").stream_raw(SPEAK_TEXT, options)
Expand Down
2 changes: 1 addition & 1 deletion examples/text-to-speech/rest/raw/hello_world/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def main():

# STEP 2 Call the save method on the speak property
options = SpeakOptions(
model="aura-asteria-en",
model="aura-2-thalia-en",
)

response = deepgram.speak.rest.v("1").stream_raw(SPEAK_TEXT, options)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def main():

# STEP 2: Call the save method on the speak property
options = SpeakOptions(
model="aura-asteria-en",
model="aura-2-thalia-en",
encoding="linear16",
container="none",
sample_rate=48000,
Expand Down