Spaces:
Configuration error
Configuration error
update
#9
by
6Morpheus6
- opened
- install.json +15 -10
install.json
CHANGED
@@ -1,23 +1,28 @@
|
|
1 |
{
|
2 |
"run": [{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
"method": "shell.run",
|
4 |
"params": {
|
5 |
-
"venv": "
|
6 |
-
"message":
|
7 |
-
"{{pip.install.torch}}",
|
8 |
-
"pip install -r requirements.txt"
|
9 |
-
]
|
10 |
}
|
11 |
}, {
|
12 |
-
"
|
|
|
13 |
"params": {
|
14 |
-
"
|
15 |
-
"description": "Go back to the dashboard and launch the app!"
|
16 |
}
|
17 |
}, {
|
18 |
-
"method": "
|
19 |
"params": {
|
20 |
-
"
|
21 |
}
|
22 |
}]
|
23 |
}
|
|
|
1 |
{
|
2 |
"run": [{
|
3 |
+
"method": "script.start",
|
4 |
+
"params": {
|
5 |
+
"uri": "torch.js",
|
6 |
+
"params": {
|
7 |
+
"venv": "env"
|
8 |
+
}
|
9 |
+
}
|
10 |
+
}, {
|
11 |
"method": "shell.run",
|
12 |
"params": {
|
13 |
+
"venv": "env",
|
14 |
+
"message": "uv pip install -r requirements.txt"
|
|
|
|
|
|
|
15 |
}
|
16 |
}, {
|
17 |
+
"when": "{{platform !== 'linux'}}",
|
18 |
+
"method": "fs.share",
|
19 |
"params": {
|
20 |
+
"venv": "env"
|
|
|
21 |
}
|
22 |
}, {
|
23 |
+
"method": "notify",
|
24 |
"params": {
|
25 |
+
"html": "Click the 'start' tab to get started!"
|
26 |
}
|
27 |
}]
|
28 |
}
|