1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-02-20 20:51:49 +01:00
This commit is contained in:
Nayam Amarshe 2023-11-27 07:51:17 +05:30
parent c77e0f6c92
commit d108a75612
2 changed files with 23 additions and 14 deletions

View File

@ -92,19 +92,22 @@ const imageUpscayl = async (event, payload: ImageUpscaylPayload) => {
)
);
} else {
logit("✅ Upscayl Variables: ", {
model,
gpuId,
saveImageAs,
inputDir,
outputDir,
fullfileName,
fileName,
initialScale: initialScale,
desiredScale,
outFile,
compression,
});
logit(
"✅ Upscayl Variables: ",
JSON.stringify({
model,
gpuId,
saveImageAs,
inputDir,
outputDir,
fullfileName,
fileName,
initialScale: initialScale,
desiredScale,
outFile,
compression,
})
);
const upscayl = spawnUpscayl(
"realesrgan",
getSingleImageArguments(

View File

@ -62,7 +62,13 @@ export function setChildProcesses(value: {
kill: () => boolean;
}): void {
childProcesses.push(value);
logit("👶 Updating Child Processes: ", childProcesses);
logit(
"👶 Updating Child Processes: ",
JSON.stringify({
binary: childProcesses[0].process.spawnfile,
args: childProcesses[0].process.spawnargs,
})
);
}
export function setNoImageProcessing(value: boolean): void {