mirror of
https://github.com/upscayl/upscayl.git
synced 2025-02-20 20:51:49 +01:00
Fix logs
This commit is contained in:
parent
c77e0f6c92
commit
d108a75612
@ -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(
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user