k-kotetsu commited on
Commit
e39206f
·
1 Parent(s): 58e1239

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ def realesrgan(img, model_name, denoise_strength, face_enhance, outscale, ext):
120
  # metadata.add_text("parameters", parameters)
121
  # cv2.imwrite(out_filename, output, [int(cv2.IMWRITE_PNG_COMPRESSION), 0], pnginfo=metadata)
122
  #else:
123
- cv2.imwrite(out_filename, output)
124
  global last_file
125
  last_file = out_filename
126
  return out_filename
 
120
  # metadata.add_text("parameters", parameters)
121
  # cv2.imwrite(out_filename, output, [int(cv2.IMWRITE_PNG_COMPRESSION), 0], pnginfo=metadata)
122
  #else:
123
+ cv2.imwrite(out_filename, output)
124
  global last_file
125
  last_file = out_filename
126
  return out_filename