Skip to content
Python

fixed forced black frame

DeepBeepMeep0645c8167637
diff --git a/wgp.py b/wgp.py
index 495c875..36bb615 100644
--- a/wgp.py
+++ b/wgp.py
@@ -785,7 +785,7 @@ def process_prompt_and_add_tasks(state, current_gallery_tab, model_choice):
if "S" in image_prompt_type:
- if model_def.get("black_frame", False) and len(start_end or [])==0:
+ if model_def.get("black_frame", False) and len(image_start or [])==0:
if "E" in image_prompt_type and len(image_end or []):
image_end = clean_image_list(image_end)
image_start = [Image.new("RGB", image.size, (0, 0, 0, 255)) for image in image_end]