From cfa9eae2461248afe0645d901a96645c29d9e9ac Mon Sep 17 00:00:00 2001 From: GeorgLegato Date: Wed, 26 Apr 2023 21:58:03 +0200 Subject: [PATCH] back to bit better --- iz_helpers/run.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/iz_helpers/run.py b/iz_helpers/run.py index db20746..29d02a8 100644 --- a/iz_helpers/run.py +++ b/iz_helpers/run.py @@ -103,12 +103,6 @@ def create_zoom_single( upscale_by, progress=None, ): - # try: - # if gr.Progress() is not None: - # progress = gr.Progress() - # progress(0, desc="Preparing Initial Image") - # except Exception: - # pass fix_env_Path_ffprobe() prompts = {} @@ -300,7 +294,7 @@ def create_zoom_single( ) ) - ## WHY?, should be end size? interpol_image = interpol_image.resize((width, height)) + interpol_image = interpol_image.resize((widthInterp, heightInterp)) # paste the higher resolution previous image in the middle to avoid drop in quality caused by zooming interpol_width2 = round(