fffiloni commited on
Commit
b78b661
1 Parent(s): f249153

Update gradio_demo/app.py

Browse files
Files changed (1) hide show
  1. 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)