Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update friday.py
  • Loading branch information
rushabhnaik16 authored Oct 21, 2020
commit f25b6d38b9f580b2e3a3dd66feee6239b33a4ac7
8 changes: 5 additions & 3 deletions Code-Sleep-Python/voice assistant/friday.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ def wishMe():
else:
speak("Good evening sir")

speak("I am Friday, your virtual assistant running on python. How may I help you?")

speak("I am Friday, your virtual assistant running on python?")
speak("How may I help you?")

def takeCommand():
r = sr.Recognizer()
Expand Down Expand Up @@ -61,7 +61,9 @@ def takeCommand():
print(results)
speak(results)
elif 'what can you do' in query:
speak("I can search for something in wikipedia, open websites, play friends or even open your whatsapp. If you are interested to read some amazing blogs say open my blog.")
speak("I can search for something in wikipedia,")
speak("open websites, play friends or even open your whatsapp.")
speak("If you are interested to read some amazing blogs say open my blog.")
elif 'who are you' in query:
speak("I am friday, the successor of Jarvis.")
elif 'open youtube' in query:
Expand Down