From 5c495c29cd5b24a7ac0c3cb209ad4b7a1b10ea94 Mon Sep 17 00:00:00 2001 From: CalamitousFelicitousness Date: Fri, 14 Aug 2026 01:27:53 +0100 Subject: [PATCH] fix(video): assign the loaded modular pipeline to the model slot The modular branch returned the pipe instead of assigning it, so the video tab and the API failed with "model not loaded" and the whole post-load tail was skipped along with it. --- modules/video_models/video_load.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_models/video_load.py b/modules/video_models/video_load.py index 677288dfe..4e7415ae7 100644 --- a/modules/video_models/video_load.py +++ b/modules/video_models/video_load.py @@ -175,7 +175,7 @@ def load_model(selected: models_def.Model): try: if selected.workflow is not None or modular_load.is_modular(selected.repo_cls): from modules.modular_load import load_modular_pipe - return load_modular_pipe(selected.repo_cls, selected.repo, workflow=selected.workflow, revision=selected.repo_revision, offline_args=offline_args, base=selected.base) + shared.sd_model = load_modular_pipe(selected.repo_cls, selected.repo, workflow=selected.workflow, revision=selected.repo_revision, offline_args=offline_args, base=selected.base) elif selected.repo_cls is None: shared.sd_model = load_custom(selected.repo) else: