Medical Diagnosis Application
This application allows users to input their symptoms and receive potential diagnoses and explanations from the Gemini API. It also includes features for health monitoring and a medical advice chatbot.
Features
- Symptom Checker: Input your symptoms to receive potential diagnoses and explanations from the Gemini API.
- Health Monitoring: Input your daily health data (e.g., temperature, blood pressure, heart rate) to receive personalized health recommendations.
- Medical Advice Chatbot: Ask health-related questions to the chatbot and receive medical advice based on your symptoms.
Setup
Clone the repository:
git clone https://github.com/githubnext/workspace-blank.git cd workspace-blankSet up GitHub Secrets:
- Navigate to the repository settings on GitHub.
- Select "Secrets" and add a new secret with the name
GOOGLE_API_KEY.
Create a
.streamlit/secrets.tomlfile:[api_keys] google_gemini = "YOUR_API_KEY"Install dependencies:
pip install -r requirements.txtRun the application locally:
streamlit run main.py
Deployment
The application is configured to be deployed on GitHub Pages using GitHub Actions. The deployment workflow is defined in the .github/workflows/deploy.yml file.
Contributing
Contributions are welcome! Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature or bugfix.
- Make your changes and commit them with a descriptive message.
- Push your changes to your forked repository.
- Create a pull request to the main repository.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Additional Features
- Responsive AI Respond Button: The application now includes a responsive AI respond button and a waiting for response button. The buttons are styled to be user-friendly and visually appealing.
- Loading Indicator: A loading indicator is displayed while the AI is processing the input, providing a better user experience.
- Enhanced UI/UX: The user interface has been improved to make the application more user-friendly and visually appealing.
- Secure API Key Handling: The API key is securely read from the secrets file, enhancing security.
Built With
- css
- dockerfile
- html
- javascript
- jupyter-notebook
- python
Log in or sign up for Devpost to join the conversation.