Spaces:
Sleeping
Sleeping
chore: update readme
Browse files
README.md
CHANGED
@@ -1,12 +1,60 @@
|
|
1 |
---
|
2 |
title: Health Prediction
|
3 |
-
emoji:
|
4 |
colorFrom: gray
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
sdk_version: 3.33.1
|
8 |
app_file: app.py
|
9 |
-
pinned:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
title: Health Prediction
|
3 |
+
emoji: 🩺😷
|
4 |
colorFrom: gray
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
sdk_version: 3.33.1
|
8 |
app_file: app.py
|
9 |
+
pinned: True
|
10 |
+
tags:
|
11 |
+
- FHE
|
12 |
+
- PPML
|
13 |
+
- privacy
|
14 |
+
- privacy preserving machine learning
|
15 |
+
- image processing
|
16 |
+
- homomorphic encryption
|
17 |
+
- security
|
18 |
---
|
19 |
|
20 |
+
# Healthcare prediction using FHE
|
21 |
+
|
22 |
+
## Running the application on your machine
|
23 |
+
|
24 |
+
From this directory, i.e. `health_prediction`, you can proceed with the following steps.
|
25 |
+
|
26 |
+
### Do once
|
27 |
+
|
28 |
+
First, create a virtual env and activate it:
|
29 |
+
|
30 |
+
<!--pytest-codeblocks:skip-->
|
31 |
+
|
32 |
+
```bash
|
33 |
+
python3 -m venv .venv2
|
34 |
+
source .venv/bin/activate
|
35 |
+
```
|
36 |
+
|
37 |
+
Then, install required packages:
|
38 |
+
|
39 |
+
<!--pytest-codeblocks:skip-->
|
40 |
+
|
41 |
+
```bash
|
42 |
+
pip3 install pip --upgrade
|
43 |
+
pip3 install -U pip wheel setuptools --ignore-installed
|
44 |
+
pip3 install -r requirements.txt --ignore-installed
|
45 |
+
```
|
46 |
+
|
47 |
+
## Run the following steps each time you relaunch the application
|
48 |
+
|
49 |
+
In a terminal, run:
|
50 |
+
|
51 |
+
<!--pytest-codeblocks:skip-->
|
52 |
+
|
53 |
+
```bash
|
54 |
+
source .venv/bin/activate
|
55 |
+
python3 app.py
|
56 |
+
```
|
57 |
+
|
58 |
+
## Interacting with the application
|
59 |
+
|
60 |
+
Open the given URL link (search for a line like `Running on local URL: http://127.0.0.1:8888/`).
|