Update flux_kontext_helpers.py
Browse files- flux_kontext_helpers.py +1 -1
flux_kontext_helpers.py
CHANGED
|
@@ -76,7 +76,7 @@ class FluxWorker:
|
|
| 76 |
def generate_image_internal(self, reference_images: list[Image.Image], prompt: str, target_width: int, target_height: int, seed: int, callback: callable = None):
|
| 77 |
composite_reference = self._create_composite_reference(reference_images, target_width, target_height)
|
| 78 |
|
| 79 |
-
num_steps =
|
| 80 |
|
| 81 |
logger.info(f"\n===== [CHAMADA AO PIPELINE FLUX em {self.device}] =====\n"
|
| 82 |
f" - Prompt: '{prompt}'\n"
|
|
|
|
| 76 |
def generate_image_internal(self, reference_images: list[Image.Image], prompt: str, target_width: int, target_height: int, seed: int, callback: callable = None):
|
| 77 |
composite_reference = self._create_composite_reference(reference_images, target_width, target_height)
|
| 78 |
|
| 79 |
+
num_steps = 12 # Valor fixo otimizado
|
| 80 |
|
| 81 |
logger.info(f"\n===== [CHAMADA AO PIPELINE FLUX em {self.device}] =====\n"
|
| 82 |
f" - Prompt: '{prompt}'\n"
|