Update to edge-tts 3.0.1

This commit is contained in:
rany
2021-12-04 00:47:53 +02:00
parent 6fbf875673
commit 4b7f04dc4c
13 changed files with 658 additions and 333 deletions

View File

@@ -2,9 +2,12 @@
# Example Python script that shows how to use edge-tts as a module
import asyncio
import tempfile
import edgeTTS
from playsound import playsound
import edgeTTS
async def main():
communicate = edgeTTS.Communicate()
ask = input("What do you want TTS to say? ")
@@ -14,5 +17,6 @@ async def main():
fp.write(i[2])
playsound(fp.name)
if __name__ == "__main__":
asyncio.run(main())