Skip to content
Open
Changes from all commits
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
5 changes: 3 additions & 2 deletions venv/virtual.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#importing required libraries
import speech_recognition as sr
import pyttsx3
import datetime
Expand All @@ -18,7 +19,7 @@
voices=engine.getProperty('voices')
engine.setProperty('voice','voices[0].id')


#functions for different operations
def speak(text):
engine.say(text)
engine.runAndWait()
Expand Down Expand Up @@ -53,7 +54,7 @@ def takeCommand():
speak("Loading your AI personal assistant G-One")
wishMe()


#Conditions for different operations
if __name__=='__main__':


Expand Down