davidberenstein1957 commited on
Commit
bfc23da
·
1 Parent(s): 334d9fc

docs: enhance README with environment activation instructions and deployment steps

Browse files
Files changed (1) hide show
  1. README.md +16 -4
README.md CHANGED
@@ -5,7 +5,7 @@ colorFrom: green
5
  colorTo: indigo
6
  sdk: gradio
7
  app_file: dashboard/app.py
8
- pinned: false
9
  license: apache-2.0
10
  short_description: A cost/quality/speed Leaderboard for Inference Providers!
11
  sdk_version: 5.19.0
@@ -34,6 +34,14 @@ Install uv with pip like that:
34
  uv venv --python 3.12
35
  ```
36
 
 
 
 
 
 
 
 
 
37
  ```
38
  uv sync --all-groups
39
  ```
@@ -60,11 +68,15 @@ To run the dashboard, you can use the following command:
60
  python dashboard/app.py
61
  ```
62
 
63
- To deploy the dashboard, you can use the following commands
64
 
65
- ````
 
 
66
  git remote add hf https://huggingface.co/spaces/PrunaAI/InferBench
67
- ````
 
 
68
 
69
  ```
70
  git push hf --force
 
5
  colorTo: indigo
6
  sdk: gradio
7
  app_file: dashboard/app.py
8
+ pinned: true
9
  license: apache-2.0
10
  short_description: A cost/quality/speed Leaderboard for Inference Providers!
11
  sdk_version: 5.19.0
 
34
  uv venv --python 3.12
35
  ```
36
 
37
+ Then activate the environment:
38
+
39
+ ```
40
+ source .venv/bin/activate
41
+ ```
42
+
43
+ Then install the dependencies with uv:
44
+
45
  ```
46
  uv sync --all-groups
47
  ```
 
68
  python dashboard/app.py
69
  ```
70
 
71
+ To deploy the dashboard, you can use the following commands:
72
 
73
+ First, add the remote:
74
+
75
+ ```
76
  git remote add hf https://huggingface.co/spaces/PrunaAI/InferBench
77
+ ```
78
+
79
+ Then push the changes:
80
 
81
  ```
82
  git push hf --force