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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -127,7 +127,7 @@ 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)
131
  diffused_img.save("input1.jpg")
132
 
133
  input_frame_1 = read_image(str("input1.jpg"), ImageReadMode.UNCHANGED)
 
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)