Skip to content

Commit

Permalink
Merge pull request #134 from akkshayTandon/add-robo-speaker-bot
Browse files Browse the repository at this point in the history
added-robo-speaker-bot
  • Loading branch information
shaishav06 committed May 24, 2023
2 parents adbdeaa + 88e2293 commit 5c6f511
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 5c6f511

Please sign in to comment.