Download add.py from adr2432/lets_try: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/spaces/adr2432/lets_try/resolve/main/add.py
- Command line
-
hf download hf://spaces/adr2432/lets_try/add.py
-
curl -L -o add.py https://huggingface.co/spaces/adr2432/lets_try/resolve/main/add.py
321 Bytes
| import subprocess | |
| subprocess.run(["aria2c", "--console-log-level=error", "-c", "-x", "16", "-s", "16", "-k", "1M", "https://huggingface.co/4bit/Llama-2-7b-chat-hf/resolve/main/model-00001-of-00002.safetensors", "-d", "/content/text-generation-webui/models/Llama-2-7b-chat-hf", "-o", "model-00001-of-00002.safetensors"]) | |