Spaces:
Running
on
L4
Running
on
L4
upgrade gradio 3.24.0.
Browse files
app.py
CHANGED
@@ -114,7 +114,7 @@ def inference(image, background_enhance, face_upsample, upscale, codeformer_fide
|
|
114 |
if face_upsample is None:
|
115 |
face_upsample = False
|
116 |
if upscale is None:
|
117 |
-
upscale =
|
118 |
|
119 |
img = cv2.imread(str(image), cv2.IMREAD_COLOR)
|
120 |
print('\timage size:', img.shape)
|
|
|
114 |
if face_upsample is None:
|
115 |
face_upsample = False
|
116 |
if upscale is None:
|
117 |
+
upscale = True
|
118 |
|
119 |
img = cv2.imread(str(image), cv2.IMREAD_COLOR)
|
120 |
print('\timage size:', img.shape)
|