Skip to content

Commit e48e415

Browse files
authored
fix: updates examples to aura-2 [WIP] (#514)
* fix: updates examples to aura-2 * chore: removes aura-2 from WS
1 parent 016bd4d commit e48e415

File tree

9 files changed

+9
-9
lines changed

9 files changed

+9
-9
lines changed

examples/text-to-speech/rest/file/async_hello_world/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async def main():
2626

2727
# STEP 2 Call the save method on the asyncspeak property
2828
options = SpeakOptions(
29-
model="aura-asteria-en",
29+
model="aura-2-thalia-en",
3030
)
3131

3232
response = await deepgram.speak.asyncrest.v("1").save(

examples/text-to-speech/rest/file/hello_world/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def main():
2828

2929
# STEP 2 Call the save method on the speak property
3030
options = SpeakOptions(
31-
model="aura-asteria-en",
31+
model="aura-2-thalia-en",
3232
)
3333

3434
response = deepgram.speak.rest.v("1").save(filename, SPEAK_TEXT, options)

examples/text-to-speech/rest/file/legacy_dict_hello_world/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def main():
2626

2727
# STEP 2 Call the save method on the speak property
2828
options = {
29-
"model": "aura-asteria-en",
29+
"model": "aura-2-thalia-en",
3030
}
3131

3232
response = deepgram.speak.rest.v("1").save(filename, SPEAK_TEXT, options)

examples/text-to-speech/rest/file/woodchuck/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def main():
2828

2929
# STEP 2 Call the save method on the speak property
3030
options = SpeakOptions(
31-
model="aura-asteria-en",
31+
model="aura-2-thalia-en",
3232
)
3333

3434
response = deepgram.speak.rest.v("1").save(filename, SPEAK_TEXT, options)

examples/text-to-speech/rest/memory/async_hello_world/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ async def main():
2626

2727
# STEP 2 Call the save method on the asyncspeak property
2828
options = SpeakOptions(
29-
model="aura-asteria-en",
29+
model="aura-2-thalia-en",
3030
)
3131

3232
response = await deepgram.speak.asyncrest.v("1").stream_memory(

examples/text-to-speech/rest/memory/hello_world/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def main():
2828

2929
# STEP 2 Call the save method on the speak property
3030
options = SpeakOptions(
31-
model="aura-asteria-en",
31+
model="aura-2-thalia-en",
3232
)
3333

3434
response = deepgram.speak.rest.v("1").stream_memory(SPEAK_TEXT, options)

examples/text-to-speech/rest/raw/async_hello_world/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async def main():
3030

3131
# STEP 2 Call the save method on the asyncspeak property
3232
options = SpeakOptions(
33-
model="aura-asteria-en",
33+
model="aura-2-thalia-en",
3434
)
3535

3636
response = await deepgram.speak.asyncrest.v("1").stream_raw(SPEAK_TEXT, options)

examples/text-to-speech/rest/raw/hello_world/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def main():
2929

3030
# STEP 2 Call the save method on the speak property
3131
options = SpeakOptions(
32-
model="aura-asteria-en",
32+
model="aura-2-thalia-en",
3333
)
3434

3535
response = deepgram.speak.rest.v("1").stream_raw(SPEAK_TEXT, options)

examples/text-to-speech/rest/raw/hello_world_play/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def main():
6464

6565
# STEP 2: Call the save method on the speak property
6666
options = SpeakOptions(
67-
model="aura-asteria-en",
67+
model="aura-2-thalia-en",
6868
encoding="linear16",
6969
container="none",
7070
sample_rate=48000,

0 commit comments

Comments
 (0)