The main objective of this project is to provide 24X7 access to patients to the medical world. Any person having disease starts panicking at first thinking about the seriousness of the disease and how much costly would the treatment be. We here are trying to reduce the stress of the patients by letting them tell about their disease to the chatbot and in return the chatbot will predict the disease. It will also prescribe some basic medicines and also state various ways in which the person can prevent the disease from happening any further again. Some healthy foods that help to prevent the disease are also recommended by the bot. Hence, with the use of this, one can easily diagnose their disease at an early stage and start treatment for the same at a very minimal or zero cost itself. One needs not to wait for the doctor’s appointment to start treatment, thus saving a lot of money for consultation and also providing immediate relief from the disease.
-
Cloning the Repository:
git clone https://github.com/archihalder/medbot
-
Open the directory
cd medbot
-
Create an Environment
python3 -m venv venv
-
Activate the environment
.\venv\Scripts\activate
-
Install the dependencies
$ (venv) pip install Flask torch torchvision nltk
-
Install the requirements
pip install -r requirements.txt
-
Train your dataset(intents.json)
$ (venv) python train.py
-
Run the app
python app.py