SmilingTree commited on
Commit
0bc2aab
·
verified ·
1 Parent(s): 4101904

change text-to-speech inference pipeline to nari-labs/Dia-1.6B

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -27,7 +27,7 @@ def translate_and_speak(chinese_text):
27
  try:
28
  audio_bytes = client.text_to_speech(
29
  translated_text,
30
- model="hexgrad/Kokoro-82M",
31
  )
32
  return translated_text, audio_bytes
33
  except Exception as e:
 
27
  try:
28
  audio_bytes = client.text_to_speech(
29
  translated_text,
30
+ model="nari-labs/Dia-1.6B",
31
  )
32
  return translated_text, audio_bytes
33
  except Exception as e: