mirror of
https://github.com/vladmandic/automatic
synced 2026-09-19 09:14:35 +02:00
fix mochi num frames
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -28,7 +28,7 @@ class Script(scripts.Script):
|
||||
|
||||
def run(self, p: processing.StableDiffusionProcessing, num_frames, video_type, duration, gif_loop, mp4_pad, mp4_interpolate): # pylint: disable=arguments-differ, unused-argument
|
||||
# set params
|
||||
num_frames = int(num_frames // 8)
|
||||
num_frames = int(num_frames)
|
||||
p.width = 32 * int(p.width // 32)
|
||||
p.height = 32 * int(p.height // 32)
|
||||
p.task_args['output_type'] = 'pil'
|
||||
|
||||
+1
-1
Submodule wiki updated: f8cb064b38...b535881541
Reference in New Issue
Block a user