MindfulListener is a Flask-based chatbot designed to provide mental health support and guidance to users. The chatbot aims to offer a listening ear, provide helpful resources, and offer suggestions for coping mechanisms to improve mental well-being.
- Chat Interface: Users can interact with the chatbot through a user-friendly interface.
- Mental Health Support: MindfulListener offers empathetic responses and guidance to users seeking mental health support.
- Resource Recommendations: The chatbot provides links to articles, videos, and other resources related to mental health topics.
- Anonymous Interaction: Users can interact with the chatbot anonymously, ensuring privacy and confidentiality.
- Coping Mechanisms: MindfulListener suggests coping mechanisms and self-care strategies to help users manage stress, anxiety, and other mental health challenges.
To run the MindfulListener chatbot locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/Srujanrana07/MindfulListener.git
-
Navigate to the Directory: cd myenv
-
Install Dependencies: pip install flask
pip install pandas
-
Set Up Environment Variables:
-
Create a
.env
file in the root directory. -
Add the following environment variables:
FLASK_APP=app.py FLASK_ENV=development
-
Activate the environment:
-
For Windows:
.\venv\Scripts\activate
-
For macOS/Linux:
source venv/bin/activate
-
-
-
Run the Application:
flask run --port 5000
- Access the Chatbot:
- Open a web browser and navigate to
http://localhost:5000
to access the MindfulListener chatbot interface.
Users can interact with the chatbot by typing messages in the chat interface. MindfulListener responds with empathetic messages, provides helpful resources, and suggests coping mechanisms based on the user's input.
Test the app