Commit
·
dfd4983
1
Parent(s):
e2c374a
Convert to uv
Browse files- .python-version +1 -0
- main.py +6 -0
- pyproject.toml +28 -0
- uv.lock +0 -0
.python-version
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
3.12
|
main.py
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
def main():
|
| 2 |
+
print("Hello from hf-leaderboard-backend!")
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
if __name__ == "__main__":
|
| 6 |
+
main()
|
pyproject.toml
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
[tool.ruff]
|
| 2 |
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
|
| 3 |
select = ["E", "F"]
|
|
|
|
| 1 |
+
[project]
|
| 2 |
+
name = "hf-leaderboard-backend"
|
| 3 |
+
version = "0.1.0"
|
| 4 |
+
description = "Add your description here"
|
| 5 |
+
readme = "README.md"
|
| 6 |
+
requires-python = ">=3.12"
|
| 7 |
+
dependencies = [
|
| 8 |
+
"apscheduler>=3.11.0",
|
| 9 |
+
"black>=25.1.0",
|
| 10 |
+
"datasets>=4.0.0",
|
| 11 |
+
"gradio-client>=1.10.4",
|
| 12 |
+
"gradio-leaderboard==0.0.13",
|
| 13 |
+
"gradio[oauth]>=5.36.2",
|
| 14 |
+
"huggingface-hub>=0.18.0",
|
| 15 |
+
"matplotlib>=3.10.3",
|
| 16 |
+
"numpy>=2.3.1",
|
| 17 |
+
"pandas>=2.3.1",
|
| 18 |
+
"plotly>=6.2.0",
|
| 19 |
+
"pre-commit>=4.2.0",
|
| 20 |
+
"pydantic==2.10.6",
|
| 21 |
+
"python-dateutil>=2.9.0.post0",
|
| 22 |
+
"pytz>=2025.2",
|
| 23 |
+
"sentencepiece>=0.2.0",
|
| 24 |
+
"tokenizers>=0.15.0",
|
| 25 |
+
"tqdm>=4.67.1",
|
| 26 |
+
"transformers>=4.53.2",
|
| 27 |
+
]
|
| 28 |
+
|
| 29 |
[tool.ruff]
|
| 30 |
# Enable pycodestyle (`E`) and Pyflakes (`F`) codes by default.
|
| 31 |
select = ["E", "F"]
|
uv.lock
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|