Traly commited on
Commit
73b904b
β€’
1 Parent(s): 921e5ff
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from SwinIR.infer import SwinIRDemo
6
  from sam_diffsr.infer import sam_diffsr_demo
7
 
8
 
9
- def image_infer(img_PIL, progress=gr.Progress(track_tqdm=True)):
10
  sam_diffsr_img = sam_diffsr_infer.infer(img_PIL)
11
  swin_ir_img = swin_ir_infer.infer(img_PIL)
12
  return sam_diffsr_img, swin_ir_img
 
6
  from sam_diffsr.infer import sam_diffsr_demo
7
 
8
 
9
+ def image_infer(img_PIL):
10
  sam_diffsr_img = sam_diffsr_infer.infer(img_PIL)
11
  swin_ir_img = swin_ir_infer.infer(img_PIL)
12
  return sam_diffsr_img, swin_ir_img