Spaces:
Running
Running
File size: 173 Bytes
192aba8 |
1 2 3 4 5 |
import edge_tts
async def generate_audio(text,outputFilename):
communicate = edge_tts.Communicate(text,"en-AU-WilliamNeural")
await communicate.save(outputFilename) |