Files
flux-webui/install.js
cocktailpeanut 7095e5ef30 update
2024-08-09 10:11:47 -04:00

33 lines
753 B
JavaScript

module.exports = {
run: [
// Delete this step if your project does not use torch
{
method: "script.start",
params: {
uri: "torch.js",
params: {
venv: "env", // Edit this to customize the venv folder path
xformers: true // uncomment this line if your project requires xformers
}
}
},
// Edit this step with your custom install commands
{
method: "shell.run",
params: {
venv: "env", // Edit this to customize the venv folder path
message: [
"pip install -r requirements.txt"
],
}
},
// {
// method: "fs.link",
// params: {
// venv: "env"
// }
// }
]
}