Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Clémentine
commited on
Commit
•
d030e90
1
Parent(s):
db7f350
increase reqs
Browse files- app.py +2 -2
- requirements.txt +60 -0
app.py
CHANGED
@@ -19,7 +19,7 @@ api = HfApi()
|
|
19 |
eval_results = {}
|
20 |
eval_dataframe = {}
|
21 |
for level in range(1, 4):
|
22 |
-
eval_results[level] = load_dataset(f"{owner}/
|
23 |
eval_dataframe[level] = pd.DataFrame(eval_results[level].remove_column("mail"))
|
24 |
|
25 |
def restart_space():
|
@@ -68,7 +68,7 @@ def refresh():
|
|
68 |
eval_results = {}
|
69 |
eval_dataframe = {}
|
70 |
for level in range(1, 4):
|
71 |
-
eval_results[level] = load_dataset(f"{owner}/
|
72 |
eval_dataframe[level] = pd.DataFrame(eval_results[level].remove_column("mail"))
|
73 |
return eval_dataframe[1], eval_dataframe[2], eval_dataframe[3]
|
74 |
|
|
|
19 |
eval_results = {}
|
20 |
eval_dataframe = {}
|
21 |
for level in range(1, 4):
|
22 |
+
eval_results[level] = load_dataset(f"{owner}/BALM_ResultsLevel{level}", token=BALM_TOKEN, split="dev")
|
23 |
eval_dataframe[level] = pd.DataFrame(eval_results[level].remove_column("mail"))
|
24 |
|
25 |
def restart_space():
|
|
|
68 |
eval_results = {}
|
69 |
eval_dataframe = {}
|
70 |
for level in range(1, 4):
|
71 |
+
eval_results[level] = load_dataset(f"{owner}/BALM_ResultsLevel{level}", token=BALM_TOKEN, split="dev")
|
72 |
eval_dataframe[level] = pd.DataFrame(eval_results[level].remove_column("mail"))
|
73 |
return eval_dataframe[1], eval_dataframe[2], eval_dataframe[3]
|
74 |
|
requirements.txt
CHANGED
@@ -1,8 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
datasets
|
2 |
gradio==3.27.0
|
3 |
gradio_client==0.1.3
|
|
|
|
|
|
|
4 |
huggingface-hub==0.13.4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
pandas==2.0.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
tqdm==4.65.0
|
7 |
transformers==4.28.1
|
8 |
typing_extensions==4.5.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
aiofiles==23.1.0
|
2 |
+
aiohttp==3.8.4
|
3 |
+
aiosignal==1.3.1
|
4 |
+
altair==4.2.2
|
5 |
+
anyio==3.6.2
|
6 |
+
APScheduler==3.10.1
|
7 |
+
async-timeout==4.0.2
|
8 |
+
attrs==23.1.0
|
9 |
+
certifi==2022.12.7
|
10 |
+
charset-normalizer==3.1.0
|
11 |
+
click==8.1.3
|
12 |
+
contourpy==1.0.7
|
13 |
+
cycler==0.11.0
|
14 |
+
entrypoints==0.4
|
15 |
+
fastapi==0.95.1
|
16 |
+
ffmpy==0.3.0
|
17 |
+
filelock==3.11.0
|
18 |
+
fonttools==4.39.3
|
19 |
+
frozenlist==1.3.3
|
20 |
+
fsspec==2023.4.0
|
21 |
datasets
|
22 |
gradio==3.27.0
|
23 |
gradio_client==0.1.3
|
24 |
+
h11==0.14.0
|
25 |
+
httpcore==0.17.0
|
26 |
+
httpx==0.24.0
|
27 |
huggingface-hub==0.13.4
|
28 |
+
idna==3.4
|
29 |
+
Jinja2==3.1.2
|
30 |
+
jsonschema==4.17.3
|
31 |
+
kiwisolver==1.4.4
|
32 |
+
linkify-it-py==2.0.0
|
33 |
+
markdown-it-py==2.2.0
|
34 |
+
MarkupSafe==2.1.2
|
35 |
+
matplotlib==3.7.1
|
36 |
+
mdit-py-plugins==0.3.3
|
37 |
+
mdurl==0.1.2
|
38 |
+
multidict==6.0.4
|
39 |
+
numpy==1.24.2
|
40 |
+
orjson==3.8.10
|
41 |
+
packaging==23.1
|
42 |
pandas==2.0.0
|
43 |
+
Pillow==9.5.0
|
44 |
+
pydantic==1.10.7
|
45 |
+
pydub==0.25.1
|
46 |
+
pyparsing==3.0.9
|
47 |
+
pyrsistent==0.19.3
|
48 |
+
python-dateutil==2.8.2
|
49 |
+
python-multipart==0.0.6
|
50 |
+
pytz==2023.3
|
51 |
+
pytz-deprecation-shim==0.1.0.post0
|
52 |
+
PyYAML==6.0
|
53 |
+
requests==2.28.2
|
54 |
+
semantic-version==2.10.0
|
55 |
+
six==1.16.0
|
56 |
+
sniffio==1.3.0
|
57 |
+
starlette==0.26.1
|
58 |
+
toolz==0.12.0
|
59 |
tqdm==4.65.0
|
60 |
transformers==4.28.1
|
61 |
typing_extensions==4.5.0
|
62 |
+
tzdata==2023.3
|
63 |
+
tzlocal==4.3
|
64 |
+
uc-micro-py==1.0.1
|
65 |
+
urllib3==1.26.15
|
66 |
+
uvicorn==0.21.1
|
67 |
+
websockets==11.0.1
|
68 |
+
yarl==1.8.2
|