Arogya AI is a multimodal digital health assistant that provides medical insights through text, voice, and image analysis. It allows users to describe their symptoms or medical concerns through text, voice recordings, or by uploading relevant medical images to receive AI-generated medical advice.
- Text Input: Describe your symptoms or ask medical questions through text.
- Voice Input: Record your symptoms using your microphone for automatic transcription.
- Image Analysis: Upload medical images for AI-powered visual analysis.
- Voice Response: Receive responses in both text and audio formats.
- Professional Medical Insights: Get comprehensive medical assessments based on the information you provide.
Splash Screen
User Input & Customization
Generated Response
Arogya AI leverages several advanced AI technologies to provide a seamless user experience:
- LLM Integration: Uses Groq's LLama 3.2 (11B vision preview) for text processing and image analysis
- Speech-to-Text: Transcribes voice inputs for processing
- Text-to-Speech: Converts AI responses into natural-sounding speech
- Gradio Interface: Provides an intuitive web-based user interface
- Python 3.7+
- Required API keys (Groq)
-
Clone the repository:
git clone https://github.com/Docsaiii/AROGYA-AI.git cd AROGYA-AI -
Install dependencies:
pip install -r requirements.txt -
Create a
.envfile in the project root with your API keys:GROQ_API_KEY=your_groq_api_key_here -
Make sure you have the welcome audio file:
welcome_message.mp3 -
Make sure you have a
logo.pngfile in the project root directory.
-
Run the application:
python app.py -
Access the interface through your web browser at
http://localhost:7860. -
Use the application in one of three ways:
- Type your symptoms or questions in the text box
- Record your voice using the microphone button
- Upload a relevant medical image
-
Click "Get Medical Advice" to receive AI-generated medical insights.
arogya-ai/
├── app.py # Main application file
├── core/
│ ├── __init__.py
│ ├── api_client.py # API client for Groq
│ ├── image_processing.py # Image analysis functions
│ ├── speech_processing.py # Voice transcription and TTS
│ └── utils.py # Utility functions
├── output/ # Directory for generated audio files
├── logo.png # Application logo
├── welcome_message.mp3 # Welcome audio message
├── .env # Environment variables
└── requirements.txt # Project dependencies
gradio: Web interfacepython-dotenv: Environment variable managementgroq: API client for Groq LLM- Additional dependencies for speech processing and image analysis
- The system is designed to provide general medical insights and should not replace professional medical advice.
- User data is processed temporarily and not stored permanently.
- Internet connection is required for API calls to Groq.
- Store conversation history in a database for better user experience and analysis.
- Implement multilingual support to enhance accessibility for users worldwide.
Contributions are welcome! Please feel free to submit a Pull Request.