Download the database of the chatbot from this link and put it in the same repository as the bot
Could't put it here because file was too big
https://drive.google.com/file/d/1RAHOlFdUcn0kNo2GFhNOBHAhnKEB3nVQ/view?usp=sharing
pip3 install SpeechRecognition
pip3 install PyAudio
pip3 install Wave
pip3 install gTTS
pip3 install playsound
pip3 install ChatterBot
pip3 install pydub
loop is written in the code to demonstrate the conversing ability of the bot [run the code to see]
its trained on an ubuntu related conversation to help them with ubuntu interface
how to call the function: converse(text)
returns: reply
how to call the function: text_to_speech(text)
converts the text to speech
saves the converted audio into mp3
plays the mp3 audio file
start speaking when say something gets printed in the console
how to call the function: convert()
returns: text version of what you say
some of the frames of the same animation are seperated due to the limitations of github
put all the frames and the animation script in the same repository and run the script
animation will play in the terminal
in the case where the animation cannot be viewed propely just make text smaller in the terminal to see the whole thing