Omnibus commited on
Commit
7839840
·
1 Parent(s): 3a7f8d0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -242,7 +242,7 @@ def check_load(inp_url,outp_vid,hid_box,start_f,end_f):
242
  #outp_vid.change(echo_fn,outp_vid,[out_trim])
243
  def process_image_1(image):
244
  #out = esr(img=image, model_name="realesr-general-x4v3", denoise_strength=0.5, face_enhance=False, outscale=2)
245
- out = esr(0, [image, "realesr-general-x4v3", "0.5", "False", "2"])
246
  print (out)
247
  out = Image.open(out)
248
  return out
 
242
  #outp_vid.change(echo_fn,outp_vid,[out_trim])
243
  def process_image_1(image):
244
  #out = esr(img=image, model_name="realesr-general-x4v3", denoise_strength=0.5, face_enhance=False, outscale=2)
245
+ out = esr([image, "realesr-general-x4v3", "0.5", "False", "2"])
246
  print (out)
247
  out = Image.open(out)
248
  return out