SimpliMedi-Assist is a user-friendly web application designed to make complex medical reports understandable for everyone.
By simply uploading their medical documents, users can receive clear and concise explanations of the content, regardless of their medical background.
The app utilizes advanced natural language processing technology to break down the reports into easy-to-understand summaries, empowering users to take control of their health with confidence and clarity.
With its intuitive interface and seamless integration, SimpliMedi-Assist offers a convenient solution for accessing and comprehending medical information effortlessly.
- Upload PDF, DOCX, or TXT files containing medical reports.
- Extract text from the uploaded documents.
- Preview the extracted text with custom HTML and CSS styling.
- Use OpenAI's GPT-3.5 model to generate explanations for the medical reports:
- Report Explanation: Breaks down the medical report, explains the significance of terms, findings, and measurements.
- Simplified Explanation: Provides a layperson-friendly summary of conditions, abnormalities, and their implications for health.
- Install dependencies:
pip install streamlit requests PyPDF2 python-docx openai python-dotenv
- Set up environment variables:
- Create a .env file in the root directory.
- Add your OpenAI API key to the .env file:
OPENAI_API_KEY=<Your_OpenAI_API_Key>
- Run the Streamlit app:
streamlit run app.py
- Upload medical reports in PDF, DOCX, or TXT format.
- View the extracted text and generated explanations.
- Streamlit: For building the web application.
- Requests: For making HTTP requests.
- PyPDF2: For extracting text from PDF files.
- python-docx: For extracting text from DOCX files.
- OpenAI: For using the GPT-3.5 model.
- python-dotenv: For loading environment variables from a .env file.