taxfree_python
commited on
Commit
·
3c0e97d
1
Parent(s):
6640dd0
Fix dependencies bugs
Browse files- leaderboard/dataset.py +2 -2
- leaderboard/evaluation.py +2 -2
- pyproject.toml +3 -1
- requirements.txt +73 -71
leaderboard/dataset.py
CHANGED
@@ -2,10 +2,10 @@ import os
|
|
2 |
|
3 |
import pandas as pd
|
4 |
from datasets import Dataset, load_dataset
|
5 |
-
|
6 |
from huggingface_hub import login
|
7 |
|
8 |
-
|
9 |
|
10 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
11 |
RESULT_DATASET_ID = os.environ.get("RESULT_DATASET_ID", None)
|
|
|
2 |
|
3 |
import pandas as pd
|
4 |
from datasets import Dataset, load_dataset
|
5 |
+
from dotenv import load_dotenv
|
6 |
from huggingface_hub import login
|
7 |
|
8 |
+
load_dotenv()
|
9 |
|
10 |
HF_TOKEN = os.environ.get("HF_TOKEN", None)
|
11 |
RESULT_DATASET_ID = os.environ.get("RESULT_DATASET_ID", None)
|
leaderboard/evaluation.py
CHANGED
@@ -6,10 +6,10 @@ from urllib.parse import urlparse
|
|
6 |
import joblib
|
7 |
import numpy as np
|
8 |
from datasets import load_dataset
|
9 |
-
|
10 |
from huggingface_hub import hf_hub_download
|
11 |
|
12 |
-
|
13 |
|
14 |
TEST_DATA_ID = os.environ.get("TEST_DATA_ID", None)
|
15 |
|
|
|
6 |
import joblib
|
7 |
import numpy as np
|
8 |
from datasets import load_dataset
|
9 |
+
from dotenv import load_dotenv
|
10 |
from huggingface_hub import hf_hub_download
|
11 |
|
12 |
+
load_dotenv()
|
13 |
|
14 |
TEST_DATA_ID = os.environ.get("TEST_DATA_ID", None)
|
15 |
|
pyproject.toml
CHANGED
@@ -4,9 +4,11 @@ version = "0.1.0"
|
|
4 |
description = ""
|
5 |
authors = ["Your Name <you@example.com>"]
|
6 |
readme = "README.md"
|
|
|
|
|
7 |
|
8 |
[tool.poetry.dependencies]
|
9 |
-
python = "^3.
|
10 |
gradio = "^5.6.0"
|
11 |
pandas = "^2.2.3"
|
12 |
joblib = "^1.4.2"
|
|
|
4 |
description = ""
|
5 |
authors = ["Your Name <you@example.com>"]
|
6 |
readme = "README.md"
|
7 |
+
package-mode = false
|
8 |
+
|
9 |
|
10 |
[tool.poetry.dependencies]
|
11 |
+
python = "^3.10"
|
12 |
gradio = "^5.6.0"
|
13 |
pandas = "^2.2.3"
|
14 |
joblib = "^1.4.2"
|
requirements.txt
CHANGED
@@ -1,72 +1,74 @@
|
|
1 |
-
aiofiles==23.2.1 ; python_version >= "3.
|
2 |
-
aiohappyeyeballs==2.4.4 ; python_version >= "3.
|
3 |
-
aiohttp==3.11.10 ; python_version >= "3.
|
4 |
-
aiosignal==1.3.1 ; python_version >= "3.
|
5 |
-
annotated-types==0.7.0 ; python_version >= "3.
|
6 |
-
anyio==4.7.0 ; python_version >= "3.
|
7 |
-
|
|
|
8 |
audioop-lts==0.2.1 ; python_version >= "3.13" and python_version < "4.0"
|
9 |
-
certifi==2024.8.30 ; python_version >= "3.
|
10 |
-
charset-normalizer==3.4.0 ; python_version >= "3.
|
11 |
-
click==8.1.7 ; python_version >= "3.
|
12 |
-
colorama==0.4.6 ; python_version >= "3.
|
13 |
-
datasets==3.2.0 ; python_version >= "3.
|
14 |
-
dill==0.3.8 ; python_version >= "3.
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
fsspec
|
21 |
-
|
22 |
-
gradio==5.
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
pydantic==2.
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
python-
|
48 |
-
python-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
|
|
|
1 |
+
aiofiles==23.2.1 ; python_version >= "3.10" and python_version < "4.0"
|
2 |
+
aiohappyeyeballs==2.4.4 ; python_version >= "3.10" and python_version < "4.0"
|
3 |
+
aiohttp==3.11.10 ; python_version >= "3.10" and python_version < "4.0"
|
4 |
+
aiosignal==1.3.1 ; python_version >= "3.10" and python_version < "4.0"
|
5 |
+
annotated-types==0.7.0 ; python_version >= "3.10" and python_version < "4.0"
|
6 |
+
anyio==4.7.0 ; python_version >= "3.10" and python_version < "4.0"
|
7 |
+
async-timeout==5.0.1 ; python_version >= "3.10" and python_version < "3.11"
|
8 |
+
attrs==24.2.0 ; python_version >= "3.10" and python_version < "4.0"
|
9 |
audioop-lts==0.2.1 ; python_version >= "3.13" and python_version < "4.0"
|
10 |
+
certifi==2024.8.30 ; python_version >= "3.10" and python_version < "4.0"
|
11 |
+
charset-normalizer==3.4.0 ; python_version >= "3.10" and python_version < "4.0"
|
12 |
+
click==8.1.7 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "emscripten"
|
13 |
+
colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" and platform_system == "Windows"
|
14 |
+
datasets==3.2.0 ; python_version >= "3.10" and python_version < "4.0"
|
15 |
+
dill==0.3.8 ; python_version >= "3.10" and python_version < "4.0"
|
16 |
+
exceptiongroup==1.2.2 ; python_version >= "3.10" and python_version < "3.11"
|
17 |
+
fastapi==0.115.6 ; python_version >= "3.10" and python_version < "4.0"
|
18 |
+
ffmpy==0.4.0 ; python_version >= "3.10" and python_version < "4.0"
|
19 |
+
filelock==3.16.1 ; python_version >= "3.10" and python_version < "4.0"
|
20 |
+
frozenlist==1.5.0 ; python_version >= "3.10" and python_version < "4.0"
|
21 |
+
fsspec==2024.9.0 ; python_version >= "3.10" and python_version < "4.0"
|
22 |
+
fsspec[http]==2024.9.0 ; python_version >= "3.10" and python_version < "4.0"
|
23 |
+
gradio-client==1.5.1 ; python_version >= "3.10" and python_version < "4.0"
|
24 |
+
gradio==5.8.0 ; python_version >= "3.10" and python_version < "4.0"
|
25 |
+
h11==0.14.0 ; python_version >= "3.10" and python_version < "4.0"
|
26 |
+
httpcore==1.0.7 ; python_version >= "3.10" and python_version < "4.0"
|
27 |
+
httpx==0.28.1 ; python_version >= "3.10" and python_version < "4.0"
|
28 |
+
huggingface-hub==0.26.5 ; python_version >= "3.10" and python_version < "4.0"
|
29 |
+
idna==3.10 ; python_version >= "3.10" and python_version < "4.0"
|
30 |
+
jinja2==3.1.4 ; python_version >= "3.10" and python_version < "4.0"
|
31 |
+
joblib==1.4.2 ; python_version >= "3.10" and python_version < "4.0"
|
32 |
+
markdown-it-py==3.0.0 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "emscripten"
|
33 |
+
markupsafe==2.1.5 ; python_version >= "3.10" and python_version < "4.0"
|
34 |
+
mdurl==0.1.2 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "emscripten"
|
35 |
+
multidict==6.1.0 ; python_version >= "3.10" and python_version < "4.0"
|
36 |
+
multiprocess==0.70.16 ; python_version >= "3.10" and python_version < "4.0"
|
37 |
+
numpy==2.2.0 ; python_version >= "3.10" and python_version < "4.0"
|
38 |
+
orjson==3.10.12 ; python_version >= "3.10" and python_version < "4.0"
|
39 |
+
packaging==24.2 ; python_version >= "3.10" and python_version < "4.0"
|
40 |
+
pandas==2.2.3 ; python_version >= "3.10" and python_version < "4.0"
|
41 |
+
pillow==11.0.0 ; python_version >= "3.10" and python_version < "4.0"
|
42 |
+
propcache==0.2.1 ; python_version >= "3.10" and python_version < "4.0"
|
43 |
+
pyarrow==18.1.0 ; python_version >= "3.10" and python_version < "4.0"
|
44 |
+
pydantic-core==2.27.1 ; python_version >= "3.10" and python_version < "4.0"
|
45 |
+
pydantic==2.10.3 ; python_version >= "3.10" and python_version < "4.0"
|
46 |
+
pydub==0.25.1 ; python_version >= "3.10" and python_version < "4.0"
|
47 |
+
pygments==2.18.0 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "emscripten"
|
48 |
+
python-dateutil==2.9.0.post0 ; python_version >= "3.10" and python_version < "4.0"
|
49 |
+
python-dotenv==1.0.1 ; python_version >= "3.10" and python_version < "4.0"
|
50 |
+
python-multipart==0.0.19 ; python_version >= "3.10" and python_version < "4.0"
|
51 |
+
pytz==2024.2 ; python_version >= "3.10" and python_version < "4.0"
|
52 |
+
pyyaml==6.0.2 ; python_version >= "3.10" and python_version < "4.0"
|
53 |
+
requests==2.32.3 ; python_version >= "3.10" and python_version < "4.0"
|
54 |
+
rich==13.9.4 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "emscripten"
|
55 |
+
ruff==0.8.2 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "emscripten"
|
56 |
+
safehttpx==0.1.6 ; python_version >= "3.10" and python_version < "4.0"
|
57 |
+
scikit-learn==1.6.0 ; python_version >= "3.10" and python_version < "4.0"
|
58 |
+
scipy==1.14.1 ; python_version >= "3.10" and python_version < "4.0"
|
59 |
+
semantic-version==2.10.0 ; python_version >= "3.10" and python_version < "4.0"
|
60 |
+
shellingham==1.5.4 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "emscripten"
|
61 |
+
six==1.17.0 ; python_version >= "3.10" and python_version < "4.0"
|
62 |
+
sniffio==1.3.1 ; python_version >= "3.10" and python_version < "4.0"
|
63 |
+
starlette==0.41.3 ; python_version >= "3.10" and python_version < "4.0"
|
64 |
+
threadpoolctl==3.5.0 ; python_version >= "3.10" and python_version < "4.0"
|
65 |
+
tomlkit==0.13.2 ; python_version >= "3.10" and python_version < "4.0"
|
66 |
+
tqdm==4.67.1 ; python_version >= "3.10" and python_version < "4.0"
|
67 |
+
typer==0.15.1 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "emscripten"
|
68 |
+
typing-extensions==4.12.2 ; python_version >= "3.10" and python_version < "4.0"
|
69 |
+
tzdata==2024.2 ; python_version >= "3.10" and python_version < "4.0"
|
70 |
+
urllib3==2.2.3 ; python_version >= "3.10" and python_version < "4.0"
|
71 |
+
uvicorn==0.32.1 ; python_version >= "3.10" and python_version < "4.0" and sys_platform != "emscripten"
|
72 |
+
websockets==14.1 ; python_version >= "3.10" and python_version < "4.0"
|
73 |
+
xxhash==3.5.0 ; python_version >= "3.10" and python_version < "4.0"
|
74 |
+
yarl==1.18.3 ; python_version >= "3.10" and python_version < "4.0"
|