J Z commited on
Update tts.py
Browse files
tts.py
CHANGED
|
@@ -41,8 +41,8 @@ def generate_audio(text: str, output_filename: str = None) -> str:
|
|
| 41 |
print(f"[TTS] Generating audio for: {text[:60]}...")
|
| 42 |
|
| 43 |
response = client.audio.speech.create(
|
| 44 |
-
model="
|
| 45 |
-
voice="
|
| 46 |
input=text,
|
| 47 |
response_format="wav"
|
| 48 |
)
|
|
|
|
| 41 |
print(f"[TTS] Generating audio for: {text[:60]}...")
|
| 42 |
|
| 43 |
response = client.audio.speech.create(
|
| 44 |
+
model="canopylabs/orpheus-v1-english",
|
| 45 |
+
voice="troy",
|
| 46 |
input=text,
|
| 47 |
response_format="wav"
|
| 48 |
)
|