Files
flux-webui/install.js
cocktailpeanut 5dc49230c6 update
2024-08-06 18:25:00 -04:00

33 lines
741 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"
}
}
]
}