Skip to content

πŸ†™ Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.

Remove redundant code

Nayam Amarshee48e0d3cfbc9
diff --git a/electron/utils/get-arguments.ts b/electron/utils/get-arguments.ts
index 778440e..a385ab3 100644
--- a/electron/utils/get-arguments.ts
+++ b/electron/utils/get-arguments.ts
@@ -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,
- ];
-};