-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.js
41 lines (41 loc) · 872 Bytes
/
install.js
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
32
33
34
35
36
37
38
39
40
41
module.exports = {
run: [
{
method: "shell.run",
params: {
message: [
"git clone https://huggingface.co/spaces/fishaudio/fish-speech-1/ app",
]
}
},
{
method: "script.start",
params: {
uri: "torch.js",
params: {
venv: "env",
path: "app",
}
}
},
{
method: "shell.run",
params: {
venv: "env",
path: "app",
message: [
"pip install -r requirements.txt"
//"pip3 install -e .",
//"pip install https://github.com/AnyaCoder/fish-speech/releases/download/v0.1.0/triton_windows-0.1.0-py3-none-any.whl"
]
}
},
{
when: "{{platform !== 'darwin'}}",
method: "fs.link",
params: {
venv: "app/env"
}
}
]
}