Add upscale feat
All checks were successful
ci / Image build (push) Successful in 2m28s
ci / Deployment (push) Successful in 27s

This commit is contained in:
Joris Bertomeu
2025-08-26 17:30:47 +02:00
parent 6faebd723d
commit dc5c541bc4
3 changed files with 838 additions and 199 deletions

View File

@@ -126,6 +126,10 @@ const getLocalBinFileInfo = (binType) => {
stat: fs.existsSync(path) ? fs.statSync(path) : null,
version: getBinVersion(`${BIN_PATH}/.${binType}.version`)
}
} else if (binType === 'realesrgan') {
return {
path: `${BIN_PATH}/realesrgan_macos/realesrgan-ncnn-vulkan`
};
} else {
throw new Error(`Bad binType "${binType}" provided`);
}