bweisslt commited on
Commit
ae279af
·
verified ·
1 Parent(s): 4b6692a

Update README.md

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