diff --git a/CHANGELOG.md b/CHANGELOG.md index 5cca0b196..20af59f31 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ - Control API scripts compatibility -## Update for 2024-03-30 +## Update for 2024-04-02 - **Features**: - **Gallery**: list, preview, search through all your images and videos! diff --git a/modules/shared.py b/modules/shared.py index 0566cb62f..0b1d96ea6 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -292,9 +292,9 @@ def temp_disable_extensions(): disable_original = [] disabled = [] if modules.shared.cmd_opts.theme is not None: - theme_name = modules.shared.cmd_opts.theme.lower() + theme_name = modules.shared.cmd_opts.theme else: - theme_name = f'{modules.shared.opts.theme_type}/{modules.shared.opts.gradio_theme}'.lower() + theme_name = f'{modules.shared.opts.theme_type.lower()}/{modules.shared.opts.gradio_theme}' if theme_name == 'lobe': disable_themes.remove('sd-webui-lobe-theme') @@ -354,7 +354,6 @@ elif devices.backend == "directml": cross_attention_optimization_default = "Dynamic Attention BMM" if backend == Backend.DIFFUSERS else "Sub-quadratic" else: # cuda, rocm, ipex cross_attention_optimization_default ="Scaled-Dot-Product" - if devices.backend == "rocm": sdp_options_default = ['Memory attention', 'Math attention'] #elif devices.backend == "zluda": @@ -561,7 +560,7 @@ options_templates.update(options_section(('saving-images', "Image Options"), { "image_sep_browser": OptionInfo("