Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -113,7 +113,7 @@ def infer(prompt,video_in, seed_in, trim_value):
|
|
113 |
print("set stop frames to: " + str(n_frame))
|
114 |
|
115 |
for i in frames_list[0:int(n_frame)]:
|
116 |
-
pil_i = Image.open(i)
|
117 |
|
118 |
pix2pix_img = pix2pix(pil_i, prompt, 50, seed_in, 7.5, 1.5)
|
119 |
print(pix2pix_img)
|
|
|
113 |
print("set stop frames to: " + str(n_frame))
|
114 |
|
115 |
for i in frames_list[0:int(n_frame)]:
|
116 |
+
pil_i = Image.open(i).convert("RGB")
|
117 |
|
118 |
pix2pix_img = pix2pix(pil_i, prompt, 50, seed_in, 7.5, 1.5)
|
119 |
print(pix2pix_img)
|