Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def infer(prompt,video_in, seed_in, trim_value):
|
|
51 |
if n_frame >= len(frames_list):
|
52 |
n_frame = len(frames_list)
|
53 |
result_frames = []
|
54 |
-
print("set stop frames to: " + n_frame)
|
55 |
for i in frames_list[0:int(n_frame)]:
|
56 |
pix2pix_img = pix2pix(prompt,5.5,1.5,i,15,"",512,512,seed_in,fn_index=0)
|
57 |
images = [os.path.join(pix2pix_img[0], img) for img in os.listdir(pix2pix_img[0])]
|
|
|
51 |
if n_frame >= len(frames_list):
|
52 |
n_frame = len(frames_list)
|
53 |
result_frames = []
|
54 |
+
print("set stop frames to: " + str(n_frame))
|
55 |
for i in frames_list[0:int(n_frame)]:
|
56 |
pix2pix_img = pix2pix(prompt,5.5,1.5,i,15,"",512,512,seed_in,fn_index=0)
|
57 |
images = [os.path.join(pix2pix_img[0], img) for img in os.listdir(pix2pix_img[0])]
|