From 8dae6d0c6d60690bfabbad0395e84404fd742f54 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Tue, 29 Jul 2025 09:24:23 -0400 Subject: [PATCH] lint Signed-off-by: Vladimir Mandic --- CHANGELOG.md | 6 +++--- installer.py | 2 +- modules/lora/network_lora.py | 1 - scripts/loopback.py | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3ae82df35..28e45e3aa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,10 @@ Feature highlights include: - **ModernUI** has quite some redesign which should make it more user friendly and easier to navigate plus several new UI themes! - If you're still using StandardUI, give [ModernUI](https://vladmandic.github.io/sdnext-docs/Themes/) a try! + If you're still using **StandardUI**, give [ModernUI](https://vladmandic.github.io/sdnext-docs/Themes/) a try! - New models such as [WanAI 2.2](https://wan.video/) in 5B and A14B variants for both *text-to-video* and *image-to-video* workflows as well as *text-to-image* workflow! - and also [FreePix F-Lite](https://huggingface.co/Freepik/F-Lite), [Bria 3.2](https://huggingface.co/briaai/BRIA-3.2), [bigASP 2.5](https://civitai.com/models/1789765?modelVersionId=2025412) -- Redesigned [LTXVideo](https://vladmandic.github.io/sdnext-docs/Video) interface with support for general video models plus optimized [FramePack](https://vladmandic.github.io/sdnext-docs/FramePack) and [LTXVideo](https://vladmandic.github.io/sdnext-docs/LTX) support + and also [FreePix F-Lite](https://huggingface.co/Freepik/F-Lite), [Bria 3.2](https://huggingface.co/briaai/BRIA-3.2) and [bigASP 2.5](https://civitai.com/models/1789765?modelVersionId=2025412) +- Redesigned [Video](https://vladmandic.github.io/sdnext-docs/Video) interface with support for general video models plus optimized [FramePack](https://vladmandic.github.io/sdnext-docs/FramePack) and [LTXVideo](https://vladmandic.github.io/sdnext-docs/LTX) support - Fully integrated nudity detection and optional censorship with [NudeNet](https://vladmandic.github.io/sdnext-docs/NudeNet) - New background replacement and relightning methods using **Latent Bridge Matching** and new **PixelArt** processing filter - Enhanced auto-detection of default sampler types/settings results in avoiding common mistakes diff --git a/installer.py b/installer.py index eafe37d3f..d3a2eacf0 100644 --- a/installer.py +++ b/installer.py @@ -593,7 +593,7 @@ def check_diffusers(): t_start = time.time() if args.skip_all or args.skip_git: return - sha = 'a6d9f6a1a9a9ede2c64972d83ccee192b801c4a0' # diffusers commit hash + sha = '56d438727036b0918b30bbe3110c5fe1634ed19d' # diffusers commit hash pkg = pkg_resources.working_set.by_key.get('diffusers', None) minor = int(pkg.version.split('.')[1] if pkg is not None else -1) cur = opts.get('diffusers_version', '') if minor > -1 else '' diff --git a/modules/lora/network_lora.py b/modules/lora/network_lora.py index fab5b91d4..0e980e1bf 100644 --- a/modules/lora/network_lora.py +++ b/modules/lora/network_lora.py @@ -3,7 +3,6 @@ import diffusers.models.lora as diffusers_lora import modules.lora.lyco_helpers as lyco_helpers import modules.lora.network as network from modules import devices -from modules.errors import log class ModuleTypeLora(network.ModuleType): diff --git a/scripts/loopback.py b/scripts/loopback.py index d014f4b3f..ba50d6a43 100644 --- a/scripts/loopback.py +++ b/scripts/loopback.py @@ -3,7 +3,7 @@ import math import gradio as gr from modules import images, processing, scripts_manager from modules.processing import Processed -from modules.shared import opts, state +from modules.shared import opts, state, log class Script(scripts_manager.Script): @@ -70,7 +70,7 @@ class Script(scripts_manager.Script): state.job = f"loopback iteration {i+1}/{loops} batch {n+1}/{initial_batch_count}" processed = processing.process_images(p) if processed is None: - shared.log.error("Loopback: processing output is none") + log.error("Loopback: processing output is none") return Processed(p, [], None, None) if state.interrupted or state.skipped: break