Enable Space CI (#6)
Browse files- Enable Space CI (f64f8aff31b63a4f837b07d82556081078e4d47b)
Co-authored-by: Lucain Pouget <Wauplin@users.noreply.huggingface.co>
- README.md +8 -4
- app.py +6 -0
- requirements.txt +2 -1
README.md
CHANGED
@@ -1,15 +1,19 @@
|
|
1 |
---
|
2 |
title: Open LLM Leaderboard Results PR Opener
|
3 |
-
emoji: 🧐
|
4 |
-
colorFrom: green
|
5 |
-
colorTo: yellow
|
6 |
sdk: gradio
|
7 |
sdk_version: 4.14.0
|
8 |
app_file: app.py
|
|
|
|
|
|
|
9 |
pinned: false
|
10 |
hf_oauth: true
|
11 |
hf_oauth_scopes:
|
12 |
-
|
|
|
|
|
|
|
|
|
13 |
---
|
14 |
|
15 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
title: Open LLM Leaderboard Results PR Opener
|
|
|
|
|
|
|
3 |
sdk: gradio
|
4 |
sdk_version: 4.14.0
|
5 |
app_file: app.py
|
6 |
+
emoji: 🧐
|
7 |
+
colorFrom: green
|
8 |
+
colorTo: yellow
|
9 |
pinned: false
|
10 |
hf_oauth: true
|
11 |
hf_oauth_scopes:
|
12 |
+
- read-repos
|
13 |
+
space_ci:
|
14 |
+
trusted_authors: []
|
15 |
+
secrets: []
|
16 |
+
hardware: cpu-basic
|
17 |
---
|
18 |
|
19 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -13,6 +13,12 @@ import pandas as pd
|
|
13 |
from pytablewriter import MarkdownTableWriter
|
14 |
import gradio as gr
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
api = HfApi()
|
17 |
fs = HfFileSystem()
|
18 |
|
|
|
13 |
from pytablewriter import MarkdownTableWriter
|
14 |
import gradio as gr
|
15 |
|
16 |
+
from gradio_space_ci import enable_space_ci
|
17 |
+
|
18 |
+
enable_space_ci()
|
19 |
+
|
20 |
+
|
21 |
+
|
22 |
api = HfApi()
|
23 |
fs = HfFileSystem()
|
24 |
|
requirements.txt
CHANGED
@@ -1,2 +1,3 @@
|
|
1 |
bs4
|
2 |
-
pytablewriter
|
|
|
|
1 |
bs4
|
2 |
+
pytablewriter
|
3 |
+
gradio-space-ci @ git+https://huggingface.co/spaces/Wauplin/gradio-space-ci@0.2.1
|