euiia commited on
Commit
cf24bfb
·
verified ·
1 Parent(s): a42e405

Update flux_kontext_helpers.py

Browse files
Files changed (1) hide show
  1. 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 = 30 # Valor fixo otimizado
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"