INNER CODE UNIT · Python

seed_id

Woolverine94/biniou · ressources/animatediff_lcm.py:220

        seed_id = random_seed + i*num_videos_per_prompt_animatediff_lcm if (seed_animatediff_lcm == 0) else seed_animatediff_lcm + i*num_videos_per_prompt_animatediff_lcm
        if output_type_animatediff_lcm == "mp4" :
            savename = ".tmp/tmp_animatelcm_out.mp4"
            savename_final = name_seeded_video(seed_id)
            export_to_video(result, savename, fps=num_fps_animatediff_lcm)
            shutil.move(savename, savename_final)
        elif output_type_animatediff_lcm == "gif" :
            savename = ".tmp/tmp_animatelcm_out.gif"
            savename_rename = name_seeded_gif(seed_id)
            export_to_gif(result, savename, fps=num_fps_animatediff_lcm)
            shutil.move(savename, savename_rename)
            savename_final.append(savename_rename)
        final_seed.append(seed_id)

    print(f">>>[AnimateLCM 📼 ]: generated {num_prompt_animatediff_lcm} batch(es) of {num_videos_per_prompt_animatediff_lcm}")
    reporting_animatediff_lcm = f">>>[AnimateLCM 📼 ]: "+\
        f"Settings : Model={modelid_animatediff_lcm} | "+\
        f"Adapter={modelid_adapters_animatediff_lcm} | "+\

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…