Skip to content

Commit 6f8e708

Browse files
Update Voice.py
1 parent a128232 commit 6f8e708

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

Voice.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def sendEmail(to, content):
238238
speak('Searching Wikipedia...')
239239
query = query.replace("wikipedia", "")
240240
results = wikipedia.summary(query, sentences=3)
241-
speak("According to Wikipedia")
241+
speak("Answer From Wikipedia")
242242
print(results)
243243
speak(results)
244244

@@ -259,15 +259,11 @@ def sendEmail(to, content):
259259
speak(results)
260260

261261
elif 'open youtube' in query:
262-
speak("Here you go to Youtube\n")
262+
speak("Taking You To Youtube\n")
263263
webbrowser.open("youtube.com")
264264

265265
elif 'open google' in query:
266-
speak("Here you go to Google\n")
267-
webbrowser.open("google.com")
268-
269-
elif "google kholay" in query:
270-
speak("google khola ja rha h")
266+
speak("Taking you to Google\n")
271267
webbrowser.open("google.com")
272268

273269
elif "change brightness to " in query:

0 commit comments

Comments
 (0)