Spaces:
Paused
Paused
Update app.py
Browse files
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(
|
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)
|