65c2ea3d50
- install: clone app source, create venv, install deps + torch + models - start: daemon uvicorn on 127.0.0.1 with auto-captured URL - reset: remove venv/cache/models but keep source - update: pull both launcher and app, then re-install - sanitized: no local env details, no TODO/DONE - icon.png included
20 lines
440 B
JavaScript
20 lines
440 B
JavaScript
// Reset Multi-TTS-Server to pre-install state.
|
|
// Removes the venv, downloaded caches, and downloaded models.
|
|
// Keeps the cloned app/ source code so the next install is just venv + models.
|
|
module.exports = {
|
|
run: [
|
|
{
|
|
method: "fs.rm",
|
|
params: { path: "app/venv" }
|
|
},
|
|
{
|
|
method: "fs.rm",
|
|
params: { path: "app/cache" }
|
|
},
|
|
{
|
|
method: "fs.rm",
|
|
params: { path: "app/models" }
|
|
}
|
|
]
|
|
}
|