mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
fix typo (#3800)
This commit is contained in:
@@ -463,7 +463,7 @@ class StableDiffusionPanoramaPipeline(DiffusionPipeline, TextualInversionLoaderM
|
||||
panorama_height /= 8
|
||||
panorama_width /= 8
|
||||
num_blocks_height = (panorama_height - window_size) // stride + 1 if panorama_height > window_size else 1
|
||||
num_blocks_width = (panorama_width - window_size) // stride + 1 if panorama_height > window_size else 1
|
||||
num_blocks_width = (panorama_width - window_size) // stride + 1 if panorama_width > window_size else 1
|
||||
total_num_blocks = int(num_blocks_height * num_blocks_width)
|
||||
views = []
|
||||
for i in range(total_num_blocks):
|
||||
|
||||
Reference in New Issue
Block a user