Update main.py
Browse files
main.py
CHANGED
|
@@ -894,7 +894,7 @@ def generate_tts_audio(text_to_speak, voice_id="Rachel"):
|
|
| 894 |
text=text_to_speak,
|
| 895 |
voice=voice_id, # You can customize this
|
| 896 |
model="eleven_multilingual_v2", # Or another suitable model
|
| 897 |
-
stream=
|
| 898 |
)
|
| 899 |
|
| 900 |
# Collect audio bytes from the stream
|
|
|
|
| 894 |
text=text_to_speak,
|
| 895 |
voice=voice_id, # You can customize this
|
| 896 |
model="eleven_multilingual_v2", # Or another suitable model
|
| 897 |
+
stream=False
|
| 898 |
)
|
| 899 |
|
| 900 |
# Collect audio bytes from the stream
|