mirror of
https://github.com/pinokiofactory/flux-webui.git
synced 2024-10-05 23:57:57 +03:00
33 lines
753 B
JavaScript
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"
|
|
// }
|
|
// }
|
|
]
|
|
}
|
|
|