fffiloni commited on
Commit
2db6304
1 Parent(s): 2bbacca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -117,12 +117,12 @@ def infer(prompt,video_in, seed_in, trim_value):
117
  pil_i = Image.open(i).convert("RGB")
118
 
119
  pix2pix_img = pix2pix(pil_i, prompt, 50, seed_in, 7.5, 1.5)
120
- print(pix2pix_img)
121
- image = Image.open(pix2pix_img)
122
- rgb_im = image.convert("RGB")
123
 
124
  # exporting the image
125
- rgb_im.save(f"result_img-{i}.jpg")
126
  result_frames.append(f"result_img-{i}.jpg")
127
  print("frame " + i + "/" + str(n_frame) + ": done;")
128
 
 
117
  pil_i = Image.open(i).convert("RGB")
118
 
119
  pix2pix_img = pix2pix(pil_i, prompt, 50, seed_in, 7.5, 1.5)
120
+ #print(pix2pix_img)
121
+ #image = Image.open(pix2pix_img)
122
+ #rgb_im = image.convert("RGB")
123
 
124
  # exporting the image
125
+ pix2pix_img.save(f"result_img-{i}.jpg")
126
  result_frames.append(f"result_img-{i}.jpg")
127
  print("frame " + i + "/" + str(n_frame) + ": done;")
128