Download setup.py from Elamo/JAM: direct link, hf CLI and curl.
- Browser
- Download file 259 Bytes
-
https://huggingface.co/spaces/Elamo/JAM/resolve/main/setup.py
- Command line
-
hf download hf://spaces/Elamo/JAM/setup.py
-
curl -L -o setup.py https://huggingface.co/spaces/Elamo/JAM/resolve/main/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, [...]) |