1
0
mirror of https://github.com/upscayl/upscayl.git synced 2024-12-18 02:16:01 +01:00

fixed sharpen errors

This commit is contained in:
TGS963 2022-09-11 13:00:50 +05:30
parent fca812aabe
commit 18cbfd8b50
6 changed files with 2 additions and 2 deletions

View File

@ -137,7 +137,7 @@ ipcMain.on(commands.SHARPEN, async (event, payload) => {
return outFile; return outFile;
} else { } else {
let upscayl = spawn( let upscayl = spawn(
execPath + "-realesr", execPath + "-realsr",
[ [
"-i", "-i",
inputDir + "/" + fullfileName, inputDir + "/" + fullfileName,

View File

@ -155,7 +155,7 @@ const Home = () => {
scaleFactor: 4, scaleFactor: 4,
imagePath, imagePath,
outputPath, outputPath,
model: "sharpen", model: "models-DF2K",
}); });
console.log("🚀 => upscaylHandler => sharpenedImage", sharpenedImage); console.log("🚀 => upscaylHandler => sharpenedImage", sharpenedImage);
} else { } else {

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB