feat(pinokio): clean one-click launcher for multi-tts-server
- 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
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// 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" }
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user