diff --git a/modules/postprocess/seedvr_model.py b/modules/postprocess/seedvr_model.py index 6492f0bb2..4d51f3039 100644 --- a/modules/postprocess/seedvr_model.py +++ b/modules/postprocess/seedvr_model.py @@ -149,7 +149,7 @@ class UpscalerSeedVR(Upscaler): result_tensor = generation.generation_loop( runner=self.model, images=image_tensor, - cfg_scale=opts.seedvt_cfg_scale, + cfg_scale=opts.seedvr_cfg_scale, seed=seed, res_w=width, batch_size=1, @@ -157,7 +157,7 @@ class UpscalerSeedVR(Upscaler): device=devices.device, ) t1 = time.time() - log.info(f'Upscaler: type="{self.name}" model="{selected_file}" scale={self.scale} cfg={opts.seedvt_cfg_scale} seed={seed} time={t1 - t0:.2f}') + log.info(f'Upscaler: type="{self.name}" model="{selected_file}" scale={self.scale} cfg={opts.seedvr_cfg_scale} seed={seed} time={t1 - t0:.2f}') img = convert.to_pil(result_tensor.squeeze()) if opts.upscaler_unload: diff --git a/modules/shared.py b/modules/shared.py index 2237b3fd9..c48b46a03 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -531,8 +531,8 @@ options_templates.update(options_section(('saving-images', "Image Options"), { "image_sep_browser": OptionInfo("

Image Gallery

", "", gr.HTML), "browser_cache": OptionInfo(True, "Use image gallery cache"), "browser_folders": OptionInfo("", "Additional image browser folders"), - "browser_gallery_autoupdate": OptionInfo(False, "Automatically update when switching to the gallery"), - "browser_fixed_width": OptionInfo(False, "Use fixed width thumbnails"), + "browser_gallery_autoupdate": OptionInfo(True, "Gallery auto-update on tab change", gr.Checkbox, { "visible": False}), + "browser_fixed_width": OptionInfo(False, "Use fixed width thumbnails", gr.Checkbox, { "visible": False}), "viewer_show_metadata": OptionInfo(True, "Show metadata in full screen image browser"), "save_sep_options": OptionInfo("

Intermediate Image Saving

", "", gr.HTML), @@ -656,8 +656,8 @@ options_templates.update(options_section(('postprocessing', "Postprocessing"), { "detailer_unload": OptionInfo(False, "Move detailer model to CPU when complete"), "detailer_augment": OptionInfo(False, "Detailer use model augment"), - "postprocessing_sep_seedvt": OptionInfo("

SeedVT

", "", gr.HTML), - "seedvt_cfg_scale": OptionInfo(3.5, "SeedVR CFG Scale", gr.Slider, {"minimum": 1, "maximum": 15, "step": 1}), + "postprocessing_sep_seedvr": OptionInfo("

SeedVR

", "", gr.HTML), + "seedvr_cfg_scale": OptionInfo(3.5, "SeedVR CFG Scale", gr.Slider, {"minimum": 1, "maximum": 15, "step": 1}), "postprocessing_sep_upscalers": OptionInfo("

Upscaling

", "", gr.HTML), @@ -667,8 +667,8 @@ options_templates.update(options_section(('postprocessing', "Postprocessing"), { "upscaler_tile_overlap": OptionInfo(8, "Upscaler tile overlap", gr.Slider, {"minimum": 0, "maximum": 64, "step": 1}), "postprocessing_sep_resize": OptionInfo("

Resize

", "", gr.HTML), - "resize_quality": OptionInfo("Sharpfin MKS2021", "Image resize algorithm", gr.Dropdown, {"choices": ["PIL Lanczos", "Sharpfin MKS2021", "Sharpfin Lanczos3", "Sharpfin Mitchell", "Sharpfin Catmull-Rom"]}), - "resize_linearize_srgb": OptionInfo(True, "Apply sRGB linearization during image resize"), + "resize_quality": OptionInfo("PIL Lanczos", "Image resize algorithm", gr.Dropdown, {"choices": ["PIL Lanczos", "Sharpfin MKS2021", "Sharpfin Lanczos3", "Sharpfin Mitchell", "Sharpfin Catmull-Rom"]}), + "resize_linearize_srgb": OptionInfo(True, "Apply sRGB linearization"), }))