fffiloni commited on
Commit
fe57f32
·
1 Parent(s): 1fe6759

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -127,8 +127,8 @@ def infer():
127
  pil2diff_img = Image.open("./frame1.jpg")
128
  diffused_img = generate_images(pil2diff_img, prompt)
129
  print(f"DIFFUSED IMG: {diffused_img[1]}")
130
- diffused_img = Image.open(diffused_img[1])
131
- diffused_img.save("input1.jpg")
132
 
133
  input_frame_1 = read_image(str("input1.jpg"), ImageReadMode.UNCHANGED)
134
  print(f"FRAME 1: {input_frame_1}")
 
127
  pil2diff_img = Image.open("./frame1.jpg")
128
  diffused_img = generate_images(pil2diff_img, prompt)
129
  print(f"DIFFUSED IMG: {diffused_img[1]}")
130
+
131
+ diffused_img[1].save("input1.jpg")
132
 
133
  input_frame_1 = read_image(str("input1.jpg"), ImageReadMode.UNCHANGED)
134
  print(f"FRAME 1: {input_frame_1}")