From e48e0d3cfbc94aa1e52c50aba8c58e24809acad3 Mon Sep 17 00:00:00 2001 From: Nayam Amarshe <25067102+NayamAmarshe@users.noreply.github.com> Date: Mon, 11 Sep 2023 07:59:07 +0530 Subject: [PATCH] Remove redundant code --- electron/utils/get-arguments.ts | 27 --------------------------- 1 file changed, 27 deletions(-) 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, - ]; -};