mirror of
https://github.com/upscayl/upscayl.git
synced 2025-02-17 19:19:23 +01:00
Remove redundant code
This commit is contained in:
parent
2cb905d262
commit
da1ca20881
@ -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,
|
||||
];
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user