From 6e138c54a2a69c32f5dba4373c90588add035b3e Mon Sep 17 00:00:00 2001 From: Johannes Stelzer Date: Tue, 9 Jan 2024 21:12:14 +0100 Subject: [PATCH] Update README.md --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 0f0ce40..d4b5bcb 100644 --- a/README.md +++ b/README.md @@ -5,16 +5,16 @@ Latent blending enables video transitions with incredible smoothness between pro ```python pipe = AutoPipelineForText2Image.from_pretrained("stabilityai/sdxl-turbo", torch_dtype=torch.float16, variant="fp16").to("cuda") dh = DiffusersHolder(pipe) -lb = LatentBlending(dh) -lb.set_prompt1("photo of underwater landscape, fish, und the sea, incredible detail, high resolution") -lb.set_prompt2("rendering of an alien planet, strange plants, strange creatures, surreal") -lb.set_negative_prompt("blurry, ugly, pale") +be = BlendingEngine(dh) +be.set_prompt1("photo of underwater landscape, fish, und the sea, incredible detail, high resolution") +be.set_prompt2("rendering of an alien planet, strange plants, strange creatures, surreal") +be.set_negative_prompt("blurry, ugly, pale") # Run latent blending -lb.run_transition() +be.run_transition() # Save movie -lb.write_movie_transition('movie_example1.mp4', duration_transition=12) +be.write_movie_transition('movie_example1.mp4', duration_transition=12) ```