Download update.js from crystantine/fluxgym: direct link, hf CLI and curl.
- Browser
- Download file 868 Bytes
-
https://huggingface.co/datasets/crystantine/fluxgym/resolve/main/update.js
- Command line
-
hf download hf://datasets/crystantine/fluxgym/update.js
-
curl -L -o update.js https://huggingface.co/datasets/crystantine/fluxgym/resolve/main/update.js
868 Bytes
| module.exports = { | |
| run: [{ | |
| method: "shell.run", | |
| params: { | |
| message: "git pull" | |
| } | |
| }, { | |
| method: "shell.run", | |
| params: { | |
| path: "sd-scripts", | |
| message: "git pull" | |
| } | |
| }, { | |
| method: "shell.run", | |
| params: { | |
| path: "sd-scripts", | |
| venv: "../env", | |
| message: [ | |
| "pip install -r requirements.txt", | |
| ] | |
| } | |
| }, { | |
| method: "shell.run", | |
| params: { | |
| venv: "env", | |
| message: [ | |
| "pip uninstall -y diffusers[torch] torch torchaudio torchvision", | |
| "pip install -r requirements.txt", | |
| ] | |
| } | |
| }, { | |
| method: "script.start", | |
| params: { | |
| uri: "torch.js", | |
| params: { | |
| venv: "env", | |
| // xformers: true // uncomment this line if your project requires xformers | |
| } | |
| } | |
| }, { | |
| method: "fs.link", | |
| params: { | |
| venv: "env" | |
| } | |
| }] | |
| } | |