John Smith commited on
Commit
5e73617
·
1 Parent(s): 97ea6e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -105,7 +105,7 @@ def realesrgan(img, model_name, denoise_strength, face_enhance, outscale, ext):
105
  extension = 'jpg'
106
 
107
  #out_filename = f"output_{rnd_string(8)}.{extension}"
108
- out_filename = f"output_" + rnd_string(8) + "." + ext
109
  cv2.imwrite(out_filename, output)
110
  global last_file
111
  last_file = out_filename
 
105
  extension = 'jpg'
106
 
107
  #out_filename = f"output_{rnd_string(8)}.{extension}"
108
+ out_filename = f"output_{rnd_string(8)}." + ext
109
  cv2.imwrite(out_filename, output)
110
  global last_file
111
  last_file = out_filename