Spaces:
Running
on
Zero
Running
on
Zero
Update pipelines/pipeline_seesr.py
Browse files
pipelines/pipeline_seesr.py
CHANGED
@@ -1097,9 +1097,9 @@ class StableDiffusionControlNetPipeline(DiffusionPipeline, TextualInversionLoade
|
|
1097 |
image_encoder_hidden_states = ram_encoder_hidden_states,
|
1098 |
)[0]
|
1099 |
else:
|
1100 |
-
tile_weights = self._gaussian_weights(tile_size, tile_size,
|
1101 |
tile_size = min(tile_size, min(h, w))
|
1102 |
-
tile_weights = self._gaussian_weights(tile_size, tile_size,
|
1103 |
|
1104 |
grid_rows = 0
|
1105 |
cur_x = 0
|
|
|
1097 |
image_encoder_hidden_states = ram_encoder_hidden_states,
|
1098 |
)[0]
|
1099 |
else:
|
1100 |
+
tile_weights = self._gaussian_weights(tile_size, tile_size, batch_size)
|
1101 |
tile_size = min(tile_size, min(h, w))
|
1102 |
+
tile_weights = self._gaussian_weights(tile_size, tile_size, batch_size)
|
1103 |
|
1104 |
grid_rows = 0
|
1105 |
cur_x = 0
|