Demo : https://drmindmap.streamlit.app/
Dr.MindMap is an interactive Streamlit application that generates comprehensive medical mind maps using Google's Generative AI (Gemini Pro). It helps healthcare professionals, students, and medical researchers visualize detailed information about diseases, their symptoms, treatments, and related medical knowledge in an organized, hierarchical format.
- 🏥 Specialized medical knowledge visualization
- 🤖 AI-powered content generation using Gemini Pro
- 📊 Interactive mind map visualization
- 📝 Detailed markdown output
- 🔒 Secure API handling
- 📱 Responsive interface
- 💊 Comprehensive medical information structure
- Medical Professionals
- Healthcare Students
- Medical Researchers
- Healthcare Educators
- Clinical Staff
- Medical Content Creators
The application generates structured information including:
- Disease Definition
- Causes
- Types
- Clinical Features
- Symptoms
- Prevention
- Diagnosis
- Useful Medicines
- Python 3.7+
- Google API key (Gemini Pro access)
- Internet connection
streamlit
streamlit-markmap
google.generativeai
- Clone the repository:
git clone [your-repository-url]
cd [repository-name]
- Install required packages:
pip install -r requirements.txt
-
Get Google API Access:
- Visit Google AI Studio
- Generate an API key for Gemini Pro
-
API Key Setup Options:
- Enter directly in application sidebar
- Set as environment variable:
export GOOGLE_API_KEY='your-api-key'
- Launch the application:
streamlit run app.py
-
Access via web browser (default: http://localhost:8501)
-
In the sidebar:
- Enter your Google API key
- Input the medical condition or disease
- Click "Submit"
-
View Results:
- Interactive mind map visualization
- Detailed markdown text output
-
Sidebar
- Application title "Dr.MindMap"
- API key input field
- Topic input area
- Submit button
-
Main Content Area
- Mind map visualization
- Markdown text display
- Initializes application
- Manages UI components
- Handles session state
- Generates medical content using AI
- Parameters:
input_data
: Medical topic/condition
- Returns:
- Structured markdown content
- Implements medical knowledge template
# Disease Name
## Definition
- Detailed explanation
- Key characteristics
## Causes
- Primary causes
- Risk factors
## Types
- Classifications
- Variants
## Clinical Features
- Physical signs
- Observable characteristics
## Symptoms
- Patient experiences
- Warning signs
## Prevention
- Preventive measures
- Lifestyle modifications
## Diagnosis
- Diagnostic methods
- Tests required
## Useful Medicines
- Treatment options
- Medications
This tool is for educational and informational purposes only. It should not be used as a substitute for professional medical advice, diagnosis, or treatment.
- AI-generated content should be verified by medical professionals
- Always cross-reference with current medical literature
- Keep up with latest medical guidelines
- Secure API key handling
- No medical data storage
- Private session management
Common Issues:
-
API Key Problems
- Verify key validity
- Check API activation status
- Confirm Gemini Pro access
-
Visualization Issues
- Clear browser cache
- Check internet connection
- Refresh application
- Regular content template updates
- Medical information structure revisions
- Performance optimizations
Contributions welcome! Please follow these steps:
- Fork the repository
- Create a feature branch
- Submit a pull request
MIT
- Streamlit development team
- Markmap visualization library
- Google Generative AI team
- Medical professionals who provided feedback
For technical issues or suggestions:
- Open an issue on GitHub
- 1.0.0: Initial release