mirror of
https://github.com/upscayl/upscayl.git
synced 2025-02-22 13:29:59 +01:00
Fix logs
This commit is contained in:
parent
c77e0f6c92
commit
d108a75612
@ -92,7 +92,9 @@ const imageUpscayl = async (event, payload: ImageUpscaylPayload) => {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
logit("✅ Upscayl Variables: ", {
|
logit(
|
||||||
|
"✅ Upscayl Variables: ",
|
||||||
|
JSON.stringify({
|
||||||
model,
|
model,
|
||||||
gpuId,
|
gpuId,
|
||||||
saveImageAs,
|
saveImageAs,
|
||||||
@ -104,7 +106,8 @@ const imageUpscayl = async (event, payload: ImageUpscaylPayload) => {
|
|||||||
desiredScale,
|
desiredScale,
|
||||||
outFile,
|
outFile,
|
||||||
compression,
|
compression,
|
||||||
});
|
})
|
||||||
|
);
|
||||||
const upscayl = spawnUpscayl(
|
const upscayl = spawnUpscayl(
|
||||||
"realesrgan",
|
"realesrgan",
|
||||||
getSingleImageArguments(
|
getSingleImageArguments(
|
||||||
|
@ -62,7 +62,13 @@ export function setChildProcesses(value: {
|
|||||||
kill: () => boolean;
|
kill: () => boolean;
|
||||||
}): void {
|
}): void {
|
||||||
childProcesses.push(value);
|
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 {
|
export function setNoImageProcessing(value: boolean): void {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user