diff --git a/scripts/deforum.py b/scripts/deforum.py index 3db01b36..0ca85010 100644 --- a/scripts/deforum.py +++ b/scripts/deforum.py @@ -105,7 +105,7 @@ def run_deforum(*args, **kwargs): need_to_frame_interpolate = True if video_args.skip_video_for_run_all: - print('Skipping video creation, uncheck skip_video_for_run_all if you want to run it') + print("\nSkipping video creation, uncheck 'Skip video for run all' in 'Output' tab if you want to get a video too :)") else: import subprocess diff --git a/scripts/deforum_helpers/generate.py b/scripts/deforum_helpers/generate.py index cf8103bf..bf9593ba 100644 --- a/scripts/deforum_helpers/generate.py +++ b/scripts/deforum_helpers/generate.py @@ -136,7 +136,9 @@ def generate(args, keys, anim_args, loop_args, controlnet_args, root, frame = 0, } if sampler_name is not None: if sampler_name in available_samplers.keys(): - args.sampler = available_samplers[sampler_name] + p.sampler_name = available_samplers[sampler_name] + else: + raise RuntimeError(f"Sampler name '{sampler_name}' is invalid. Please check the available sampler list in the 'Run' tab") if args.checkpoint is not None: info = sd_models.get_closet_checkpoint_match(args.checkpoint) @@ -254,7 +256,7 @@ def print_combined_table(args, anim_args, p, keys, frame_idx): rows1.append(f"{p.denoising_strength:.5g}" if p.denoising_strength is not None else "None") rows1 += [str(p.subseed), f"{p.subseed_strength:.5g}"] * (anim_args.enable_subseed_scheduling) - rows1 += [args.sampler] * anim_args.enable_sampler_scheduling + rows1 += [p.sampler_name] * anim_args.enable_sampler_scheduling rows1 += [str(args.checkpoint)] * anim_args.enable_checkpoint_scheduling rows2 = []