Loading repository data…
Loading repository data…
harshjoshiiii / repository
Introducing our Mental Health Chatbot: combining NLP, ML, HTML, CSS, and JavaScript. It offers empathetic conversations, personalized support, and resources.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Introducing our Mental Health Chatbot: combining NLP, ML, HTML, CSS, and JavaScript. It offers empathetic conversations, personalized support, and resources.
##Clone repo and create a virtual environment :
$ git clone https://github.com/harsuuu/Mental-Health-Chatbot
$ python3 -m venv venv
$ for windows --> . \Scripts\activate
$ for macbook --> .\venv\Scripts\activate
Install dependencies
$ (venv) pip install Flask torch torchvision nltk
Install nltk package
$ (venv) python
>>> import nltk
>>> nltk.download('punkt')
Modify intents.json with different intents and responses for your Chatbot
Run
$ (venv) python train.py
This will dump data.pth file. And then run the following command to test it in the console.
$ (venv) python chat.py
$ (venv) python app.py