diff --git a/task.py b/task.py index fd3bab4..74627e8 100644 --- a/task.py +++ b/task.py @@ -134,6 +134,7 @@ def run(self) -> None: '-i', inputPath, '-o', outputPath, '-s', str(self.config.modelFactor), + *(('-z', str(self.config.modelFactor)) if os.path.splitext(os.path.split(define.RE_PATH)[1])[0] == 'upscayl-bin' else ()), '-t', str(self.config.tileSize), '-n', self.config.model, '-g', 'auto' if self.config.gpuID < 0 else str(self.config.gpuID),