sczhou commited on
Commit
e67829e
1 Parent(s): 52da111

upgrade gradio 3.24.0.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = False
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)