Royir commited on
Commit
db3cb87
1 Parent(s): e5723fa

Update syngen_diffusion_pipeline.py

Browse files
Files changed (1) hide show
  1. syngen_diffusion_pipeline.py +2 -2
syngen_diffusion_pipeline.py CHANGED
@@ -104,7 +104,7 @@ class SynGenDiffusionPipeline(StableDiffusionPipeline):
104
  callback: Optional[Callable[[int, int, torch.FloatTensor], None]] = None,
105
  callback_steps: int = 1,
106
  cross_attention_kwargs: Optional[Dict[str, Any]] = None,
107
- syngen_step_size: int = 20,
108
  ):
109
  r"""
110
  Function invoked when calling the pipeline for generation.
@@ -492,4 +492,4 @@ def _get_attention_maps_list(
492
  attention_maps[:, :, i] for i in range(attention_maps.shape[2])
493
  ]
494
 
495
- return attention_maps_list
 
104
  callback: Optional[Callable[[int, int, torch.FloatTensor], None]] = None,
105
  callback_steps: int = 1,
106
  cross_attention_kwargs: Optional[Dict[str, Any]] = None,
107
+ syngen_step_size: float = 20.0,
108
  ):
109
  r"""
110
  Function invoked when calling the pipeline for generation.
 
492
  attention_maps[:, :, i] for i in range(attention_maps.shape[2])
493
  ]
494
 
495
+ return attention_maps_list