Omnibus commited on
Commit
cc5ffbb
·
1 Parent(s): 212c604

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -246,7 +246,7 @@ def process_image_1(image):
246
  #cv2.imwrite(f"{rand_im}-vid_tmp_proc.png", image)
247
  #out = os.path.abspath(f"{rand_im}-vid_tmp_proc.png")
248
  #out_url = f'https://omnibus-vid-url-dl-mod.hf.space/file={out}'
249
- out = esr.realesrgan1(img, "realesr-general-x4v3", 0.5, False, 2)
250
  print (out)
251
  #out = Image.open(out)
252
  return out
 
246
  #cv2.imwrite(f"{rand_im}-vid_tmp_proc.png", image)
247
  #out = os.path.abspath(f"{rand_im}-vid_tmp_proc.png")
248
  #out_url = f'https://omnibus-vid-url-dl-mod.hf.space/file={out}'
249
+ out = esr.realesrgan1(image, "realesr-general-x4v3", 0.5, False, 2)
250
  print (out)
251
  #out = Image.open(out)
252
  return out