rairo commited on
Commit
d471b8f
·
verified ·
1 Parent(s): e786f22

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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=True
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