ar08 commited on
Commit
096fbd7
·
verified ·
1 Parent(s): 41fe818

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ chat_history = []
29
 
30
  async def text_to_speech_stream(text, voice_volume=1.0):
31
  """Convert text to speech using edge_tts and return the audio file path."""
32
- communicate = edge_tts.Communicate(text, "en-US-AvaMultilingualNeural")
33
  audio_data = b""
34
 
35
  async for chunk in communicate.stream():
 
29
 
30
  async def text_to_speech_stream(text, voice_volume=1.0):
31
  """Convert text to speech using edge_tts and return the audio file path."""
32
+ communicate = edge_tts.Communicate(text, "en-US-BrianMultilingualNeural")
33
  audio_data = b""
34
 
35
  async for chunk in communicate.stream():