Omnibus commited on
Commit
9b91c9a
·
1 Parent(s): 484706b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -248,7 +248,7 @@ def process_image_1(image):
248
  #cv2.imwrite(f"{rand_im}-vid_tmp_proc.png", image)
249
  #image = f"{rand_im}-vid_tmp_proc.png"
250
  image=Image.fromarray(image)
251
- out = esr(img=image, model_name="realesr-general-x4v3", denoise_strength=0.5, face_enhance=True, outscale=1)
252
 
253
  #out = esr.realesrgan1(img=image, model_name="realesr-general-x4v3", denoise_strength=0.5, face_enhance=True, outscale=1)
254
  #out = os.path.abspath(f"{rand_im}-vid_tmp_proc.png")
 
248
  #cv2.imwrite(f"{rand_im}-vid_tmp_proc.png", image)
249
  #image = f"{rand_im}-vid_tmp_proc.png"
250
  image=Image.fromarray(image)
251
+ out = esr(image, "realesr-general-x4v3", 0.5, True, 1)
252
 
253
  #out = esr.realesrgan1(img=image, model_name="realesr-general-x4v3", denoise_strength=0.5, face_enhance=True, outscale=1)
254
  #out = os.path.abspath(f"{rand_im}-vid_tmp_proc.png")