fffiloni commited on
Commit
9fae970
1 Parent(s): 5605108

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,12 +70,12 @@ def infer(prompt,video_in, trim_value):
70
 
71
  for i in frames_list[0:int(n_frame)]:
72
  xdecoder_img = xdecoder(i, prompt, fn_index=0)
73
- res_image = xdecoder_img[0]
74
  #rgb_im = images[0].convert("RGB")
75
 
76
  # exporting the image
77
  #res_image.save(f"result_img-{i}.jpg")
78
- result_frames.append(res_image)
79
  print("frame " + i + "/" + str(n_frame) + ": done;")
80
 
81
  print(result_frames)
 
70
 
71
  for i in frames_list[0:int(n_frame)]:
72
  xdecoder_img = xdecoder(i, prompt, fn_index=0)
73
+ #res_image = xdecoder_img[0]
74
  #rgb_im = images[0].convert("RGB")
75
 
76
  # exporting the image
77
  #res_image.save(f"result_img-{i}.jpg")
78
+ result_frames.append(xdecoder_img)
79
  print("frame " + i + "/" + str(n_frame) + ": done;")
80
 
81
  print(result_frames)