Update to edge-tts 3.0.1
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user