From 696a41fd428cc6ff2da688077e102a5dcda08140 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Tue, 23 Sep 2025 15:33:52 -0400 Subject: [PATCH] fix prompts-from-file state check Signed-off-by: Vladimir Mandic --- scripts/prompts_from_file.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/prompts_from_file.py b/scripts/prompts_from_file.py index 460b39ecf..ae2e8038f 100644 --- a/scripts/prompts_from_file.py +++ b/scripts/prompts_from_file.py @@ -147,4 +147,6 @@ class Script(scripts_manager.Script): all_negative += proc.all_negative_prompts images += proc.images infotexts += proc.infotexts + if state.interrupted: + break return get_processed(p, images, p.seed, "", all_prompts=all_prompts, all_seeds=all_seeds, all_negative_prompts=all_negative, infotexts=infotexts)