Skip to content

Commit

Permalink
added-robo-speaker-bot
Browse files Browse the repository at this point in the history
  • Loading branch information
akkshayTandon committed May 23, 2023
1 parent f3df275 commit 88e2293
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions robo-speaker/main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import pyttsx3

if __name__ == "__main__":
print("Welcome to RoboSpeaker")
print("----------------------")
print("\n")
engine = pyttsx3.init()
while True:
x = input("Enter what you want me to speak: ")
if x == "q":
break
engine.say(x)
engine.runAndWait()

0 comments on commit 88e2293

Please sign in to comment.