Other tts solutions

This commit is contained in:
2026-05-17 17:27:02 +02:00
parent 3fd400af8c
commit 79d78a32a1
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#pip install edge-tts
import asyncio
import edge_tts
async def speak():
tts = edge_tts.Communicate("Hello World", voice="en-US-JennyNeural")
await tts.save("output.mp3")
asyncio.run(speak())