back to bit better
parent
cab2d1d527
commit
cfa9eae246
|
|
@ -103,12 +103,6 @@ def create_zoom_single(
|
||||||
upscale_by,
|
upscale_by,
|
||||||
progress=None,
|
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()
|
fix_env_Path_ffprobe()
|
||||||
|
|
||||||
prompts = {}
|
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
|
# paste the higher resolution previous image in the middle to avoid drop in quality caused by zooming
|
||||||
interpol_width2 = round(
|
interpol_width2 = round(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue