Skip to content

Repository files navigation

BumpCare- AI Assistance for Expecting Mothers and aftercare for newborns.

Image

MaternAI is an AI-powered maternal health assistant designed to provide guidance and risk assessment for expectant mothers. The chatbot can answer maternal health-related queries, analyze vital signs, and provide recommendations for better maternal care.

🚀 Features

  • Conversational AI Chatbot: Ask questions related to maternal health and get AI-powered responses.

  • Voice Input & Output: Speak your queries instead of typing, and get responses via text-to-speech.

  • Risk Assessment: Enter vital signs for basic maternal health risk analysis.

  • User-Friendly Interface: Built with Streamlit for an intuitive UI.

🛠️ Tech Stack

  • Backend: Flask (Python)

  • Frontend: Streamlit (Python)

  • AI Model: Transformer-based LLM

  • Speech Processing: SpeechRecognition, PyAudio, pyttsx3

📥 Installation

  • Clone the Repository
Screenshot 2025-03-07 at 11 58 43 AM
  • Set Up Virtual Environment
Screenshot 2025-03-07 at 11 59 47 AM
  • Install Dependencies
Screenshot 2025-03-07 at 12 00 24 PM

Running the Application

1️⃣ Start the Backend (Flask API)

Screenshot 2025-03-07 at 12 02 11 PM

Ensure the Flask server is running at http://127.0.0.1:5001.

2️⃣ Start the Frontend (Streamlit UI)

Screenshot 2025-03-07 at 12 04 38 PM

Troubleshooting

  • Port 5001 Already in Use: Kill the existing process using:
Screenshot 2025-03-07 at 12 05 52 PM
  • Or change the port in main.py:
Screenshot 2025-03-07 at 12 06 34 PM
  • And update API_URL in streamlit_ui_voice.py.

-- PyAudio Installation Issues (MacOS/Linux):

Screenshot 2025-03-07 at 12 07 16 PM

Future Enhancements

  • Advanced Risk Assessment using AI models

  • Multilingual Support for better accessibility

  • Mobile-Friendly Interface

📜 License

This project is licensed under the MIT License.

👩‍💻 Contributors

Akanksha Bhimte (Lead Developer)

🌟 Acknowledgments

Inspired by the need for better maternal health support using AI.

About

AI Assistance for Expecting Mothers and aftercare for newborns

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages