- It is a beginner-friendly script in python, where they can learn about the if-else conditions in python and different libraries.
- Libraries:
- speech_recognition
- playsound
- gTTS
- pyttsx3
- First, we will keep few words in if-else and the system will see the cases accordingly and respond Example: Hey bot can you share my ppts, or small coversations
-
Packages that are to be installed are:
- speech_recognition
- playsound
- gTTS
- pyttsx3
-
Run the Script, using following command which is shown below,
python test.py
- In this only two opearations are kept, Those are to open a files from the path which you specified intitally and one more is to open google.
- You can just play with the code and create as many else-if and understand the concepts very easily.
- You can check the video, for the working of the voice assistant:
https://drive.google.com/file/d/1LuHyAsDoX3aOtW5aJPV7cBXgBq7CfFyL/view?usp=sharing