WWMachine commited on
Commit
c9359b4
·
verified ·
1 Parent(s): e290870

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -103,7 +103,7 @@ def text_to_speech(text):
103
  try:
104
  temp_filename = f"temp_tts_chunk_{i}_{int(time.time())}.wav"
105
  options = SpeakOptions(
106
- model="aura-2-phoebe-en", encoding="linear16", container="wav"
107
  )
108
  deepgram.speak.rest.v("1").save(temp_filename, {"text": chunk}, options)
109
 
 
103
  try:
104
  temp_filename = f"temp_tts_chunk_{i}_{int(time.time())}.wav"
105
  options = SpeakOptions(
106
+ model="aura-2-theia-en", encoding="linear16", container="wav"
107
  )
108
  deepgram.speak.rest.v("1").save(temp_filename, {"text": chunk}, options)
109