Spaces:
Running on Zero
Running on Zero
Download setup.py from declare-lab/TangoFlux: direct link, hf CLI and curl.
- Browser
- Download file 259 Bytes
-
https://huggingface.co/spaces/declare-lab/TangoFlux/resolve/refs%2Fpr%2F2/setup.py
- Command line
-
hf download hf://spaces/declare-lab/TangoFlux@refs/pr/2/setup.py
-
curl -L -o setup.py https://huggingface.co/spaces/declare-lab/TangoFlux/resolve/refs%2Fpr%2F2/setup.py
259 Bytes
| import os | |
| requirement_path = "requirements.txt" | |
| install_requires = [] | |
| if os.path.isfile(requirement_path): | |
| with open(requirement_path) as f: | |
| install_requires = f.read().splitlines() | |
| setup(name="mypackage", install_requires=install_requires, [...]) |