change text-to-speech inference pipeline to nari-labs/Dia-1.6B
Browse files
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="
|
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:
|