Skip to content

Commit 660aca3

Browse files
authored
Merge pull request #46 from v8hid/develop
Post Process (Upsclaing), Vlad a1111 fork Integration, Prompts loading error fixes, choose Txt2img and Img2img model in setting, default output folder changed to /output/infinite-zoom, and other improvements
2 parents 6daf257 + c5f77a5 commit 660aca3

File tree

4 files changed

+342
-55
lines changed

4 files changed

+342
-55
lines changed

iz_helpers/video.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ def write_video(file_path, frames, fps, reversed=True, start_frame_dupe_amount=1
1313
if reversed == True:
1414
frames = frames[::-1]
1515

16-
# Get dimensions of the frames
17-
# w, h = frames[0].size
16+
# Get dimensions of the first frames, all subsequent has to be same sized
17+
for k in frames:
18+
assert (k.size == frames[0].size,"Different frame sizes found!")
1819

1920
# Create an imageio video writer, avoid block size of 512.
2021
writer = imageio.get_writer(file_path, fps=fps, macro_block_size=None)

0 commit comments

Comments
 (0)