Astridkraft commited on
Commit
5dfeb3d
·
verified ·
1 Parent(s): a1d70f8

Update controlnet_module.py

Browse files
Files changed (1) hide show
  1. controlnet_module.py +2 -3
controlnet_module.py CHANGED
@@ -141,9 +141,7 @@ class ControlNetProcessor:
141
  print("-" * 60)
142
  print("🌳 MODUS: ENVIRONMENT_CHANGE")
143
  print("-" * 60)
144
-
145
-
146
- print(f"working_mask shape: {working_mask.shape}")
147
 
148
  # Der Prozessor von SAM erwartet ein NumPy-Array kein PIL
149
  image_np = np.array(image.convert("RGB"))
@@ -314,6 +312,7 @@ class ControlNetProcessor:
314
 
315
 
316
  working_mask = mask_array.copy() # Person = Weiß, Hintergrund = Schwarz
 
317
 
318
 
319
  # DILATE auf der weißen Person - daduch wird Person etwas vergrößert
 
141
  print("-" * 60)
142
  print("🌳 MODUS: ENVIRONMENT_CHANGE")
143
  print("-" * 60)
144
+
 
 
145
 
146
  # Der Prozessor von SAM erwartet ein NumPy-Array kein PIL
147
  image_np = np.array(image.convert("RGB"))
 
312
 
313
 
314
  working_mask = mask_array.copy() # Person = Weiß, Hintergrund = Schwarz
315
+ print(f"working_mask shape: {working_mask.shape}")
316
 
317
 
318
  # DILATE auf der weißen Person - daduch wird Person etwas vergrößert