1
0
mirror of https://github.com/upscayl/upscayl.git synced 2025-01-19 09:27:27 +01:00

Remove redundant code

This commit is contained in:
Nayam Amarshe 2023-09-11 07:59:07 +05:30
parent 944be7bb2f
commit e48e0d3cfb

View File

@ -137,30 +137,3 @@ export const getBatchArguments = (
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,
];
};