Spaces:
Sleeping
Sleeping
aheedsajid
commited on
Update app.py
Browse files
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="
|
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)}")
|