fffiloni commited on
Commit
b263d3d
1 Parent(s): 4935e76

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -126,11 +126,11 @@ 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
- image.save(f"result_img-{i}.jpg")
134
  result_frames.append(f"result_img-{i}.jpg")
135
  print("frame " + i + "/" + str(n_frame) + ": done;")
136
 
 
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