fffiloni commited on
Commit
5089f52
1 Parent(s): 4bb0209

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -126,13 +126,14 @@ def infer(prompt,video_in, seed_in, trim_value):
126
 
127
  for i in frames_list[0:int(n_frame)]:
128
  pix2pix_img = pix2pix(prompt,5.5,1.5,i,15,"",512,512,seed_in)
 
129
  #image = Image.open(pix2pix_img)
130
  #rgb_im = image.convert("RGB")
131
 
132
  # exporting the image
133
- pix2pix_img.save(f"result_img-{i}.jpg")
134
- result_frames.append(f"result_img-{i}.jpg")
135
- print("frame " + i + "/" + str(n_frame) + ": done;")
136
 
137
  final_vid = create_video(result_frames, fps)
138
  print("finished !")
 
126
 
127
  for i in frames_list[0:int(n_frame)]:
128
  pix2pix_img = pix2pix(prompt,5.5,1.5,i,15,"",512,512,seed_in)
129
+ print(pix2pix_img)
130
  #image = Image.open(pix2pix_img)
131
  #rgb_im = image.convert("RGB")
132
 
133
  # exporting the image
134
+ #pix2pix_img.save(f"result_img-{i}.jpg")
135
+ #result_frames.append(f"result_img-{i}.jpg")
136
+ #print("frame " + i + "/" + str(n_frame) + ": done;")
137
 
138
  final_vid = create_video(result_frames, fps)
139
  print("finished !")