Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.28.0
metadata
title: MediBuddy
emoji: π’
colorFrom: yellow
colorTo: blue
sdk: gradio
sdk_version: 5.16.0
app_file: app.py
pinned: false
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
AI Medical Research Assistant Prototype
β οΈ This is a research prototype only - NOT FOR MEDICAL USE β οΈ
Project Description
A proof-of-concept AI system demonstrating:
- Medical image analysis (X-rays, CT scans)
- Prescription text parsing
- Research-backed medical Q&A using DeepSeek
- Safety guardrails for medical content
Features
- π· Basic medical image analysis
- π Prescription medication extraction
- π Research-supported responses
- β οΈ Automatic safety filtering
Setup Instructions
Hugging Face Secrets:
- Add your DeepSeek API key as a secret:
- Name:
DEEPSEEK_API_KEY
- Value: [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]
- Name:
- Add your DeepSeek API key as a secret:
Required Models:
- Will auto-download on first run:
obi/deid_bert_i2b2
(Prescription parser)Hate-speech-CNERG/dehatebert-mono-english
(Safety filter)- TorchXRayVision models
- Will auto-download on first run:
Hardware Requirements:
- GPU Space recommended
- Minimum 8GB RAM
Usage
Input options:
- Medical question (text)
- Medical images (X-ray/CT scans)
- Prescription text
Output:
- Research-supported response with safety disclaimers
Models Used
Component | Model/API | Source |
---|---|---|
Medical Q&A | DeepSeek API | https://deepseek.com |
Prescription Parsing | obi/deid_bert_i2b2 |
Hugging Face Model Hub |
X-ray Analysis | DenseNet121 | TorchXRayVision |
Safety Filter | dehatebert-mono-english |
Hugging Face Model Hub |
Legal Disclaimer
THIS SYSTEM:
- β Is NOT a medical device
- β Cannot diagnose conditions
- β Should NOT be used for treatment decisions
- β For research purposes only
Consult licensed healthcare professionals for medical advice.
Limitations
- Image analysis uses placeholder implementations
- Prescription parsing limited to English text
- Responses require clinical validation
- No HIPAA compliance implemented
Warning: This prototype contains simulated medical AI components. Actual medical AI systems require regulatory approval and clinical validation.