diff --git a/main/index.js b/main/index.js index 790db16..09470f9 100644 --- a/main/index.js +++ b/main/index.js @@ -137,7 +137,7 @@ ipcMain.on(commands.SHARPEN, async (event, payload) => { return outFile; } else { let upscayl = spawn( - execPath + "-realesr", + execPath + "-realsr", [ "-i", inputDir + "/" + fullfileName, diff --git a/renderer/pages/index.jsx b/renderer/pages/index.jsx index acd29bf..6f14870 100644 --- a/renderer/pages/index.jsx +++ b/renderer/pages/index.jsx @@ -155,7 +155,7 @@ const Home = () => { scaleFactor: 4, imagePath, outputPath, - model: "sharpen", + model: "models-DF2K", }); console.log("🚀 => upscaylHandler => sharpenedImage", sharpenedImage); } else { diff --git a/resources/models/sharpen.bin b/resources/models/models-DF2K/x4.bin similarity index 100% rename from resources/models/sharpen.bin rename to resources/models/models-DF2K/x4.bin diff --git a/resources/models/sharpen.param b/resources/models/models-DF2K/x4.param similarity index 100% rename from resources/models/sharpen.param rename to resources/models/models-DF2K/x4.param diff --git a/sharpened/Screenshot 2021-02-19 112858_sharpen.png b/sharpened/Screenshot 2021-02-19 112858_sharpen.png new file mode 100644 index 0000000..a6a46cd Binary files /dev/null and b/sharpened/Screenshot 2021-02-19 112858_sharpen.png differ diff --git a/sharpened/Trollface_non-free_sharpen.png b/sharpened/Trollface_non-free_sharpen.png new file mode 100644 index 0000000..dfab5a7 Binary files /dev/null and b/sharpened/Trollface_non-free_sharpen.png differ