-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstart.js
More file actions
32 lines (31 loc) · 923 Bytes
/
Copy pathstart.js
File metadata and controls
32 lines (31 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
module.exports = {
daemon: true,
run: [
// Edit this step to customize your app's launch command
{
method: "shell.run",
params: {
venv: "env", // Edit this to customize the venv folder path
path: "app",
env: {
GRADIO_SERVER_PORT: "{{port}}"
// HF_TOKEN: "hf_xxx" // Uncomment and set your token here for gated models (see README)
}, // Edit this to customize environment variables (see documentation)
message: [
"python app.py", // Edit with your custom commands
],
on: [{
// Generic URL capture (see gepeto skill / PINOKIO.md); group 1 → input.event[1] for local.set
"event": "/(http:\\/\\/\\S+)/",
"done": true
}]
}
},
{
method: "local.set",
params: {
url: "{{input.event[1]}}"
}
},
]
}