multimodalart HF staff commited on
Commit
65fc70e
·
verified ·
1 Parent(s): 4fa3624

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -236,8 +236,9 @@ def loop_outpainting(image, width, height, overlap_width, num_inference_steps, r
236
  # Use new image as input for next iteration
237
  current_image = new_image
238
 
 
239
  # Create video from image list
240
- video_path = create_video_from_images(image_list, fps)
241
  return video_path
242
 
243
  css = """
 
236
  # Use new image as input for next iteration
237
  current_image = new_image
238
 
239
+ reverse_image_list = image_list[::-1]
240
  # Create video from image list
241
+ video_path = create_video_from_images(reverse_image_list, fps)
242
  return video_path
243
 
244
  css = """