mirror of
https://github.com/upscayl/upscayl.git
synced 2025-01-31 20:15:25 +01:00
Remove redundant code
This commit is contained in:
parent
944be7bb2f
commit
e48e0d3cfb
@ -137,30 +137,3 @@ export const getBatchArguments = (
|
|||||||
saveImageAs,
|
saveImageAs,
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
// ! REDUNDANT
|
|
||||||
export const getBatchSharpenArguments = (
|
|
||||||
inputDir: string,
|
|
||||||
outputDir: string,
|
|
||||||
modelsPath: string,
|
|
||||||
model: string,
|
|
||||||
gpuId: string,
|
|
||||||
saveImageAs: string,
|
|
||||||
scale: string
|
|
||||||
) => {
|
|
||||||
return [
|
|
||||||
"-i",
|
|
||||||
inputDir,
|
|
||||||
"-o",
|
|
||||||
outputDir,
|
|
||||||
"-s",
|
|
||||||
scale,
|
|
||||||
"-x",
|
|
||||||
"-m",
|
|
||||||
modelsPath + slash + model,
|
|
||||||
gpuId ? "-g" : "",
|
|
||||||
gpuId ? gpuId : "",
|
|
||||||
"-f",
|
|
||||||
saveImageAs,
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user