Skip to content

Satwikindupuri/MEDIGPT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MediGpt 🧠

An AI-powered medical assistant built with Flask and distilgpt2.
Enter your symptoms, and get preliminary, realistic diagnosis-style responses using LLM.


📦 Tech Used Python, Flask Transformers (distilgpt2) HTML/CSS (basic UI)

🔐 Notes No API keys required (uses local model) Model will download on first run (distilgpt2)

🧠 Why distilgpt2?

We chose distilgpt2 because:

  • It’s small and fast (great for demos)
  • Doesn’t require an OpenAI API key
  • Enough to simulate diagnosis-like output
  • Works well locally with no cost

🔧 How to Run Locally

(1)Create Virtual Environment

python -m venv venv Then activate it: Windows: venv\Scripts\activate

Linux/Mac: source venv/bin/activate

(2)Install Your Dependencies

pip install -r requirements.txt

(3)(Optional) Add .env File OPENAI_API_KEY=your-key-here

(4)Run the App

python app.py

1. Clone the Repo

git clone https://github.com/YOUR_USERNAME/MediGpt.git
cd MediGpt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors