/Elsa

A Python relaxation bot providing personalized mental well-being support through speech interaction

Primary LanguageJupyter NotebookMIT LicenseMIT

Elsa - Relaxation Bot to Improve Mental Health 🌈

Introduction 🚀

Elsa is a Python-based relaxation bot designed to assist in improving mental health. This bot offers a range of relaxation techniques and provides support for users going through stressful times. Elsa uses speech recognition and synthesis to engage in conversations with users, offering tips and guidance for relaxation.

Features 🌟

  • Greeting: Elsa greets the user based on the time of day and introduces itself. 🌅
  • Stress Keyword Detection: Elsa can detect stress-related keywords in user input. 🚨
  • Relaxation Techniques: The bot suggests various relaxation techniques to help users cope with stress. 🧘
  • Speech Interaction: Users can interact with Elsa through speech, and the bot responds accordingly. 🗣️
  • Dynamic Responses: Elsa provides dynamic responses based on user input and stress detection. 🔄

How to Use 📋

  1. Installation:

    • Clone the repository:
      git clone https://github.com/charvijain12/Elsa.git
  2. Dependencies:

    • Install the required dependencies using:
      pip install gtts speech_recognition pyttsx3
  3. Run the Bot:

    • Execute the Elsa.py script to start the relaxation bot.
  4. Interact with Elsa:

    • Speak to Elsa and express your feelings or stress.
    • Elsa will respond with appropriate relaxation tips based on your input.
  5. Exit the Bot:

    • Say "exit" or "bye" to end the conversation with Elsa.

Stress Keywords 🚨

Elsa identifies stress-related keywords by loading them from a file. Users can customize the list by modifying the stress_keywords.txt file.

Relaxation Techniques 🧘

Elsa offers a variety of relaxation techniques, including deep breathing, guided imagery, meditation, and more. Users can choose the technique that suits them best.

Contributing 🤝

Feel free to contribute to the project by creating new relaxation techniques, improving speech recognition, or enhancing the overall user experience.

License 📄

This project is licensed under the MIT License.