FluxGym / fluxgym-main /update.js
VideoAditor's picture
Upload 30 files
de59d95 verified
raw
history blame
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"
}
}]
}