aheedsajid commited on
Commit
311b7ee
·
verified ·
1 Parent(s): 99c09a1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def extract_json_content(response):
50
 
51
  async def generate_voiceover(text, output_filename):
52
  try:
53
- tts = edge_tts.Communicate(text, voice="vi-VN-HoaiMyNeural")
54
  await tts.save(output_filename)
55
  except Exception as e:
56
  logger.error(f"Error generating: {str(e)}")
 
50
 
51
  async def generate_voiceover(text, output_filename):
52
  try:
53
+ tts = edge_tts.Communicate(text, voice="us-EN-AvaNeural")
54
  await tts.save(output_filename)
55
  except Exception as e:
56
  logger.error(f"Error generating: {str(e)}")