Update controlnet_module.py
Browse files- controlnet_module.py +1 -1
controlnet_module.py
CHANGED
|
@@ -651,7 +651,7 @@ class ControlNetProcessor:
|
|
| 651 |
|
| 652 |
|
| 653 |
#512x512-Bilder ohne Crop für mehr Kontext für SAM
|
| 654 |
-
use_crop_strategy = True
|
| 655 |
|
| 656 |
if original_image.width <= 512 and original_image.height <= 512:
|
| 657 |
print("Bild ist 512x512 oder kleiner, verwende Originalgröße für SAM")
|
|
|
|
| 651 |
|
| 652 |
|
| 653 |
#512x512-Bilder ohne Crop für mehr Kontext für SAM
|
| 654 |
+
use_crop_strategy = True #Flag
|
| 655 |
|
| 656 |
if original_image.width <= 512 and original_image.height <= 512:
|
| 657 |
print("Bild ist 512x512 oder kleiner, verwende Originalgröße für SAM")
|