JOY-Huang commited on
Commit
72301ba
1 Parent(s): 1f967a0
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -139,6 +139,7 @@ def instantir_restore(
139
  preview_start = preview_start / steps
140
  elif preview_start > 1.0:
141
  preview_start = preview_start / steps
 
142
  lq = Image.open(lq)
143
  lq = [resize_img(lq.convert("RGB"), size=(width, height))]
144
  generator = torch.Generator(device=device).manual_seed(seed)
 
139
  preview_start = preview_start / steps
140
  elif preview_start > 1.0:
141
  preview_start = preview_start / steps
142
+ print(type(lq))
143
  lq = Image.open(lq)
144
  lq = [resize_img(lq.convert("RGB"), size=(width, height))]
145
  generator = torch.Generator(device=device).manual_seed(seed)