1docker compose up -d
2# Access at http://localhost:8000
🔗 API Endpoints
Method
Endpoint
Description
GET
/api/health
Health check & model status
POST
/api/predict
Image + question → answer + heatmap
POST
/api/load
Load/reload model
GET
/api/metrics
Evaluation results
GET
/api/training-history
Training loss curves
📄 Tech Stack
Model: Qwen3-VL-8B + LoRA
Backend: FastAPI + Uvicorn
Frontend: React + Vite + Framer Motion + Recharts
Training: PyTorch + HuggingFace Transformers
Explainability: Grad-CAM
Deployment: Docker + NVIDIA CUDA
⚠️ Disclaimer
MedGPT is a research and educational tool. It is NOT intended for clinical diagnosis or medical decision-making. Always consult qualified healthcare professionals for medical advice.
📝 License
This project is for educational and research purposes only.