mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
feat(video): wire scripts and control to video_interpolate field
Set p.video_interpolate at run() entry so process_images_inner picks up the helper. Save calls keep their existing kwargs; the sentinel guard skips re-interpolation when the helper already ran. - animatediff, text2video, image2video, stablevideodiffusion route mp4_interpolate into p.video_interpolate - modules/control/run.py routes the request video_interpolate arg - xyz_grid intentionally untouched: its end-of-axis save_video stitches the cell slideshow, not per-cell videos; a future video_interpolate axis would set p.video_interpolate per cell via axis_options
This commit is contained in:
@@ -537,6 +537,7 @@ def control_run(state: str = '', # pylint: disable=keyword-arg-before-vararg
|
||||
p.is_tile = False
|
||||
p.init_control = inits or []
|
||||
p.orig_init_images = inputs
|
||||
p.video_interpolate = video_interpolate
|
||||
|
||||
# TODO modernui: monkey-patch for missing tabs.select event
|
||||
if p.selected_scale_tab_before == 0 and p.resize_name_before != 'None' and p.scale_by_before != 1 and inputs is not None and len(inputs) > 0:
|
||||
|
||||
Reference in New Issue
Block a user