Spaces:
Running
Running
Justin Grammens
commited on
Commit
·
f725f11
1
Parent(s):
f246c86
upadated the README.md with steps to get running locally
Browse files
README.md
CHANGED
@@ -10,3 +10,28 @@ pinned: false
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
13 |
+
|
14 |
+
# Running Locally
|
15 |
+
|
16 |
+
After you have cloned the repository
|
17 |
+
|
18 |
+
1. Create a virtual python environment with the commands
|
19 |
+
|
20 |
+
```
|
21 |
+
python3 -m venv .venv
|
22 |
+
source .venv/bin/activate
|
23 |
+
```
|
24 |
+
|
25 |
+
2. Install required python packages
|
26 |
+
|
27 |
+
```
|
28 |
+
pip install -r requirments.txt
|
29 |
+
```
|
30 |
+
|
31 |
+
3. Start gradio server
|
32 |
+
|
33 |
+
```
|
34 |
+
gradio app.py
|
35 |
+
```
|
36 |
+
|
37 |
+
Enjoy!
|