Benedette Otieno commited on
Commit ·
c9ff10c
1
Parent(s): ee1b868
feat: Update README with deployment instructions for Hugging Face Spaces
Browse files
README.md
CHANGED
|
@@ -1,17 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
colorTo: green
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
-
python_version: '3.13'
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 14 |
-
|
| 15 |
# Ebola Virus Disease Clinical Screening AI Agent
|
| 16 |
|
| 17 |
Production-ready adaptive EVD screening agent for healthcare workers, built with Python, Pydantic, an LLM-driven reasoning layer, LangGraph, and Gradio.
|
|
@@ -156,6 +153,31 @@ Gradio app in `app.py` includes:
|
|
| 156 |
|
| 157 |
## 9) Deployment Instructions
|
| 158 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 159 |
### Local run
|
| 160 |
|
| 161 |
```bash
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Ebola Case Detection
|
| 3 |
+
colorFrom: red
|
| 4 |
+
colorTo: yellow
|
|
|
|
| 5 |
sdk: gradio
|
| 6 |
+
sdk_version: 4.44.0
|
|
|
|
| 7 |
app_file: app.py
|
| 8 |
pinned: false
|
| 9 |
+
python_version: "3.11"
|
| 10 |
---
|
| 11 |
|
|
|
|
|
|
|
| 12 |
# Ebola Virus Disease Clinical Screening AI Agent
|
| 13 |
|
| 14 |
Production-ready adaptive EVD screening agent for healthcare workers, built with Python, Pydantic, an LLM-driven reasoning layer, LangGraph, and Gradio.
|
|
|
|
| 153 |
|
| 154 |
## 9) Deployment Instructions
|
| 155 |
|
| 156 |
+
### Deploy to Hugging Face Spaces (Gradio)
|
| 157 |
+
|
| 158 |
+
This repository is now Space-ready.
|
| 159 |
+
|
| 160 |
+
1. Create a new Space on Hugging Face:
|
| 161 |
+
- Owner: your account or org
|
| 162 |
+
- Space SDK: Gradio
|
| 163 |
+
- Visibility: public or private
|
| 164 |
+
2. Push this repository to the Space remote:
|
| 165 |
+
|
| 166 |
+
```bash
|
| 167 |
+
# Replace with your values
|
| 168 |
+
git remote add hf https://huggingface.co/spaces/<username-or-org>/<space-name>
|
| 169 |
+
git push hf main
|
| 170 |
+
```
|
| 171 |
+
|
| 172 |
+
3. In the Space settings, add required Secrets:
|
| 173 |
+
- `EVD_LLM_API_KEY` (or `OPENAI_API_KEY`)
|
| 174 |
+
4. Optional Space variables/secrets:
|
| 175 |
+
- `EVD_LLM_MODEL` (example: `gpt-4.1-mini`)
|
| 176 |
+
- `EVD_LLM_BASE_URL` (if using a compatible non-default endpoint)
|
| 177 |
+
- `EVD_CONTEXT_PATH` (custom context path in the Space filesystem)
|
| 178 |
+
|
| 179 |
+
When the build completes, the app launches automatically on the Space URL.
|
| 180 |
+
|
| 181 |
### Local run
|
| 182 |
|
| 183 |
```bash
|