Spaces:
Running
on
Zero
Running
on
Zero
fix a typo
Browse files- gradio_demo/app.py +1 -1
gradio_demo/app.py
CHANGED
@@ -137,7 +137,7 @@ def instantir_restore(
|
|
137 |
|
138 |
w, h = lq.size
|
139 |
if w == h :
|
140 |
-
lq = [resize_img(lq.convert("RGB"), size=(width,
|
141 |
else:
|
142 |
lq = [resize_img(lq.convert("RGB"), size=None)]
|
143 |
|
|
|
137 |
|
138 |
w, h = lq.size
|
139 |
if w == h :
|
140 |
+
lq = [resize_img(lq.convert("RGB"), size=(width, height))]
|
141 |
else:
|
142 |
lq = [resize_img(lq.convert("RGB"), size=None)]
|
143 |
|