Spaces:
Running
on
Zero
Running
on
Zero
Upload pyproject.toml with huggingface_hub
Browse files- pyproject.toml +4 -2
pyproject.toml
CHANGED
@@ -39,8 +39,10 @@ scripts = [".pixi.sh"]
|
|
39 |
|
40 |
[tool.pixi.tasks]
|
41 |
_install-wheel = "python -m pip install $WHL_PATH --force-reinstall"
|
42 |
-
|
43 |
-
upload-hf = "python tools/upload_to_hf.py"
|
|
|
|
|
44 |
|
45 |
[tool.pixi.tasks.download-example]
|
46 |
cmd = """
|
|
|
39 |
|
40 |
[tool.pixi.tasks]
|
41 |
_install-wheel = "python -m pip install $WHL_PATH --force-reinstall"
|
42 |
+
_build-wheel = "rm -r dist && python -m pip install build && python -m build"
|
43 |
+
upload-hf = { cmd = "python tools/upload_to_hf.py", depends_on = [
|
44 |
+
"_build-wheel",
|
45 |
+
] }
|
46 |
|
47 |
[tool.pixi.tasks.download-example]
|
48 |
cmd = """
|