Spaces:
Restarting
on
Zero
Restarting
on
Zero
debugging
Browse files
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)
|