File tree Expand file tree Collapse file tree 9 files changed +9
-9
lines changed
examples/text-to-speech/rest Expand file tree Collapse file tree 9 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ async def main():
26
26
27
27
# STEP 2 Call the save method on the asyncspeak property
28
28
options = SpeakOptions (
29
- model = "aura-asteria -en" ,
29
+ model = "aura-2-thalia -en" ,
30
30
)
31
31
32
32
response = await deepgram .speak .asyncrest .v ("1" ).save (
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def main():
28
28
29
29
# STEP 2 Call the save method on the speak property
30
30
options = SpeakOptions (
31
- model = "aura-asteria -en" ,
31
+ model = "aura-2-thalia -en" ,
32
32
)
33
33
34
34
response = deepgram .speak .rest .v ("1" ).save (filename , SPEAK_TEXT , options )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ def main():
26
26
27
27
# STEP 2 Call the save method on the speak property
28
28
options = {
29
- "model" : "aura-asteria -en" ,
29
+ "model" : "aura-2-thalia -en" ,
30
30
}
31
31
32
32
response = deepgram .speak .rest .v ("1" ).save (filename , SPEAK_TEXT , options )
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def main():
28
28
29
29
# STEP 2 Call the save method on the speak property
30
30
options = SpeakOptions (
31
- model = "aura-asteria -en" ,
31
+ model = "aura-2-thalia -en" ,
32
32
)
33
33
34
34
response = deepgram .speak .rest .v ("1" ).save (filename , SPEAK_TEXT , options )
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ async def main():
26
26
27
27
# STEP 2 Call the save method on the asyncspeak property
28
28
options = SpeakOptions (
29
- model = "aura-asteria -en" ,
29
+ model = "aura-2-thalia -en" ,
30
30
)
31
31
32
32
response = await deepgram .speak .asyncrest .v ("1" ).stream_memory (
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def main():
28
28
29
29
# STEP 2 Call the save method on the speak property
30
30
options = SpeakOptions (
31
- model = "aura-asteria -en" ,
31
+ model = "aura-2-thalia -en" ,
32
32
)
33
33
34
34
response = deepgram .speak .rest .v ("1" ).stream_memory (SPEAK_TEXT , options )
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ async def main():
30
30
31
31
# STEP 2 Call the save method on the asyncspeak property
32
32
options = SpeakOptions (
33
- model = "aura-asteria -en" ,
33
+ model = "aura-2-thalia -en" ,
34
34
)
35
35
36
36
response = await deepgram .speak .asyncrest .v ("1" ).stream_raw (SPEAK_TEXT , options )
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ def main():
29
29
30
30
# STEP 2 Call the save method on the speak property
31
31
options = SpeakOptions (
32
- model = "aura-asteria -en" ,
32
+ model = "aura-2-thalia -en" ,
33
33
)
34
34
35
35
response = deepgram .speak .rest .v ("1" ).stream_raw (SPEAK_TEXT , options )
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def main():
64
64
65
65
# STEP 2: Call the save method on the speak property
66
66
options = SpeakOptions (
67
- model = "aura-asteria -en" ,
67
+ model = "aura-2-thalia -en" ,
68
68
encoding = "linear16" ,
69
69
container = "none" ,
70
70
sample_rate = 48000 ,
You can’t perform that action at this time.
0 commit comments