Update README.md
Browse files
README.md
CHANGED
@@ -216,7 +216,7 @@ def round_to_nearest_resolution_acceptable_by_vae(height, width):
|
|
216 |
return height, width
|
217 |
|
218 |
image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/penguin.png")
|
219 |
-
video = load_video(export_to_video([image]))
|
220 |
condition1 = LTXVideoCondition(video=video, frame_index=0)
|
221 |
|
222 |
prompt = "A cute little penguin takes out a book and starts reading it"
|
|
|
216 |
return height, width
|
217 |
|
218 |
image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/penguin.png")
|
219 |
+
video = load_video(export_to_video([image])) # compress the image using video compression as the model was trained on videos
|
220 |
condition1 = LTXVideoCondition(video=video, frame_index=0)
|
221 |
|
222 |
prompt = "A cute little penguin takes out a book and starts reading it"
|