Add upscale feat
This commit is contained in:
@@ -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`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user