Spaces:
Sleeping
Sleeping
aheedsajid
commited on
Commit
•
3c3bb9d
1
Parent(s):
311b7ee
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="en-US-AvaNeural")
|
54 |
await tts.save(output_filename)
|
55 |
except Exception as e:
|
56 |
logger.error(f"Error generating: {str(e)}")
|