module.exports = {
daemon: true,
run: [
{
method: "shell.run",
params: {
venv: "env", // Edit this to customize the venv folder path
env: { }, // Edit this to customize environment variables (see documentation)
path: "app", // Edit this to customize the path to start the shell from
message: [
"python injection_main_HF.py --mode app", // Edit with your custom commands
],
on: [{
// The regular expression pattern to monitor.
// When this pattern occurs in the shell terminal, the shell will return,
// and the script will go onto the next step.
"event": "/http:\/\/[0-9.:]+/",
// "done": true will move to the next step while keeping the shell alive.
// "kill": true will move to the next step after killing the shell.
"done": true
}]
}
},
{
// This step sets the local variable 'url'.
// This local variable will be used in pinokio.js to display the "Open WebUI" tab when the value is set.
method: "local.set",
params: {
// the input.event is the regular expression match object from the previous step
url: "{{input.event[0]}}"
}
}
]
}
then in web ui
ENOENT: no such file or directory, stat '/Users/davidhastie/pinokio/api/artist.git/{{input.event[0]}}'
Hi @Wilburshere
You posted the start script. Or do you see it in your launch?
Please start Artist and make a screenshot of the launching messages in the Terminal, not the ENOENT error.
getting this error when launching artist
module.exports = { daemon: true, run: [ { method: "shell.run", params: { venv: "env", // Edit this to customize the venv folder path env: { }, // Edit this to customize environment variables (see documentation) path: "app", // Edit this to customize the path to start the shell from message: [ "python injection_main_HF.py --mode app", // Edit with your custom commands ], on: [{ // The regular expression pattern to monitor. // When this pattern occurs in the shell terminal, the shell will return, // and the script will go onto the next step. "event": "/http:\/\/[0-9.:]+/",
] }
then in web ui
ENOENT: no such file or directory, stat '/Users/davidhastie/pinokio/api/artist.git/{{input.event[0]}}'