setup for espeak

This commit is contained in:
talksik
2023-04-27 16:33:51 -07:00
parent b0cafb4d44
commit 3eac69f120
+18
View File
@@ -0,0 +1,18 @@
import time
import os
def robot(text):
os.system("espeak ' " + text + " ' ")
if __name__ == '__main__':
while True:
try:
robot("Hello world how are you doing today?")
except KeyboardInterrupt:
break
time.sleep(1)