Benny-Tang commited on
Commit
cdac786
Β·
verified Β·
1 Parent(s): 7fd0429

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +45 -9
README.md CHANGED
@@ -4,26 +4,62 @@ emoji: πŸ₯
4
  colorFrom: purple
5
  colorTo: pink
6
  sdk: gradio
7
- sdk_version: 5.44.0
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
12
  # πŸ₯ AI Diagnostics Agent: Early Cancer Discovery (Demo)
13
 
14
- **⚠️ Research demo only β€” not for clinical use**
 
 
 
 
15
 
16
  ---
17
 
18
- ### πŸš€ Overview
19
- AI Diagnostics Agent is a **proof-of-concept early cancer screening tool** combining:
20
- - **Imaging Agent** β€” analyzes chest X-rays using TorchXRayVision to detect lung anomalies (mass, nodule, opacity) and generate heatmaps.
21
- - **Lab Agent** β€” parses tumor marker results (PSA, CA125, AFP) for abnormal readings.
22
- - **AI Coordinator (Moonshot.ai)** β€” uses a large language model to summarize overall cancer risk, highlight abnormalities, and suggest next steps in human-readable form.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
 
24
  ---
25
 
26
- ### 🧠 Powered by Moonshot.ai
27
- The AI Coordinator uses [Moonshot.ai](https://www.moonshot.cn) LLM API to generate intelligent summaries.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
 
 
4
  colorFrom: purple
5
  colorTo: pink
6
  sdk: gradio
7
+ sdk_version: 5.49.1
8
  app_file: app.py
9
  pinned: false
10
  ---
11
 
12
  # πŸ₯ AI Diagnostics Agent: Early Cancer Discovery (Demo)
13
 
14
+ [![Made with Python](https://img.shields.io/badge/Made%20with-Python-3776AB?logo=python&logoColor=white)](https://www.python.org/)
15
+ [![Powered by Moonshot.ai](https://img.shields.io/badge/Powered%20by-Moonshot.ai-blue)](https://moonshot.ai)
16
+ [![Gradio App](https://img.shields.io/badge/Gradio-5.44.0-orange)](https://gradio.app/)
17
+
18
+ ⚠️ **Research Demo Only β€” Not for Clinical Use**
19
 
20
  ---
21
 
22
+ ## 🌍 Overview
23
+
24
+ **AI Diagnostics (POC)** is a research project designed to demonstrate early cancer risk screening using **AI-driven imaging + lab report synthesis**.
25
+
26
+ It integrates:
27
+ - πŸ–ΌοΈ **Imaging Agent** β€” Detects lung abnormalities (mass, opacity, nodules) from chest X-rays.
28
+ - πŸ§ͺ **Lab Agent** β€” Parses tumor markers (PSA, CA-125, AFP) and highlights abnormal results.
29
+ - 🧠 **AI Coordinator** β€” Generates diagnostic summaries powered by **Moonshot.ai** with a local **T5 fallback** for offline use.
30
+ - πŸ”₯ **Heatmap Overlay** β€” Highlights model-identified lung regions for interpretability.
31
+
32
+ ---
33
+
34
+ ## βš™οΈ Features
35
+
36
+ | Agent | Description |
37
+ |--------|--------------|
38
+ | **Imaging Agent** | TorchXRayVision + PyTorch for lung-related cancer indicators |
39
+ | **Lab Agent** | Extracts structured tumor marker insights |
40
+ | **Coordinator** | Combines both into concise AI summaries (Moonshot.ai LLM) |
41
+ | **Fallback AI** | Local text generation using T5-small if network/API fails |
42
+ | **Heatmap Overlay** | Visual interpretability of X-ray activations |
43
+ | **Gradio UI** | Easy drag-and-drop web interface for demos |
44
 
45
  ---
46
 
47
+ ## 🧠 How It Works
48
+
49
+ 1. Upload or select a sample chest X-ray.
50
+ 2. Paste lab or MRI/CT report text.
51
+ 3. The AI analyzes the image + text.
52
+ 4. Results are combined into a natural-language diagnostic summary.
53
+
54
+ ---
55
+
56
+ ## πŸš€ Run Locally
57
+
58
+ ```bash
59
+ git clone https://github.com/<your-org>/ai_diagnostics.git
60
+ cd ai_diagnostics
61
+ pip install -r requirements.txt
62
+ python app.py
63
+
64
 
65