Spaces:
Running
on
Zero
Running
on
Zero
Update gradio_demo/app.py
Browse files- gradio_demo/app.py +1 -1
gradio_demo/app.py
CHANGED
@@ -134,7 +134,7 @@ def instantir_restore(
|
|
134 |
preview_start = preview_start / steps
|
135 |
elif preview_start > 1.0:
|
136 |
preview_start = preview_start / steps
|
137 |
-
lq = [resize_img(lq.convert("RGB"), size=None]
|
138 |
generator = torch.Generator(device=device).manual_seed(seed)
|
139 |
timesteps = [
|
140 |
i * (1000//steps) + pipe.scheduler.config.steps_offset for i in range(0, steps)
|
|
|
134 |
preview_start = preview_start / steps
|
135 |
elif preview_start > 1.0:
|
136 |
preview_start = preview_start / steps
|
137 |
+
lq = [resize_img(lq.convert("RGB"), size=None)]
|
138 |
generator = torch.Generator(device=device).manual_seed(seed)
|
139 |
timesteps = [
|
140 |
i * (1000//steps) + pipe.scheduler.config.steps_offset for i in range(0, steps)
|