A Bangla speech-based chatbot App developed using Flask microframework containing modules Speech-to-Text, Conversational Agent, and Text-to-Speech.
- Language: Python 3.10.6
- Download the project from GitHub, Extract it and goto your base directory.
- Download Virtual Environment
sudo apt install python3.10-venv
- Create a virtual environment using
python3 -m venv <environment name>
- Activate virtual environment
source <environment name>/bin/activate
- Install required files
pip install -r requirements.txt
- Install portaudio for PyAudio if not downloaded automatically
sudo apt-get install portaudio19-dev
- Execute the run.py file.
- Visit http://127.0.0.1:5000
<i>
[The installation procedure is for Linux (ubuntu)]</i>
- database : Contains data and dumped models
- static : audio, image, text, css, js files
- templates : html files
- speech_to_text.py : methods of ASR/STT module
- chatbot.py : methods of CA module
- text-to-speech.py : methods of TTS/Speech synthesis module
- face_verification.py: modules to open webcam and stream video
- face_encode.py : encode train data
- views.py : routing methods of the flask app
- run.py : execute it to start server
- requirements.txt : required dependencies to install
video1272437095.mp4
video1410013186.mp4
- Before installing git lfs in ubuntu
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
git lfs track path_to_file
git add path_to_file
git commit -m "commit"