Mikecode123 commited on
Commit
4898067
·
verified ·
1 Parent(s): c432aae

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -12
README.md CHANGED
@@ -1,23 +1,38 @@
1
- # NeuroHealth Alzheimer MRI Space
 
 
 
 
 
 
 
 
 
 
2
 
3
- This space exposes Alzheimer's MRI models saved in `backend/saved_models`.
 
 
4
 
5
  ## Endpoints
6
 
7
- - `GET /health` — model loading status
8
- - `GET /models` — available Alzheimer's MRI models
9
- - `POST /predict/image?model_key=<key>` — MRI image prediction
10
 
11
- ## Supported model keys
12
 
13
- - `ad_dn121`
14
- - `ad_dn169`
15
- - `ad_dn201`
16
- - `ad_homogeneous`
 
 
 
 
17
 
18
  ## Run locally with Docker
19
 
20
  ```bash
21
- docker build -t neurohealth-ad-mri .
22
- docker run --rm -p 7860:7860 neurohealth-ad-mri
23
  ```
 
1
+ ---
2
+ title: NeuroHealth GGUF Space
3
+ emoji: 🤖
4
+ colorFrom: gray
5
+ colorTo: green
6
+ sdk: docker
7
+ sdk_version: "1.0"
8
+ python_version: "3.11"
9
+ app_file: app.py
10
+ pinned: false
11
+ ---
12
 
13
+ # NeuroHealth GGUF Space
14
+
15
+ This space exposes the `qwen2-1_5b-instruct-q4_0.gguf` model in `backend/saved_models` for text generation.
16
 
17
  ## Endpoints
18
 
19
+ - `GET /health` — GGUF file availability
20
+ - `POST /generate` — text generation
 
21
 
22
+ ## Request body example
23
 
24
+ ```json
25
+ {
26
+ "prompt": "Explain the role of dopamine in Parkinson's disease.",
27
+ "max_tokens": 256,
28
+ "temperature": 0.8,
29
+ "top_p": 0.95
30
+ }
31
+ ```
32
 
33
  ## Run locally with Docker
34
 
35
  ```bash
36
+ docker build -t neurohealth-gguf .
37
+ docker run --rm -p 7860:7860 neurohealth-gguf
38
  ```