givkashi commited on
Commit
11b46ec
·
1 Parent(s): 2c8bbe1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,7 +15,7 @@ def infer(img):
15
  img = ImageOps.contain(img, (700, 700))
16
  width, height = img.size
17
  img.save("./data/data.png")
18
- # os.system('python ./SwinIR/main_test_swinir.py --task real_sr --model_path ./experiments/pretrained_models/003_realSR_BSRGAN_DFOWMFC_s64w8_SwinIR-L_x4_GAN.pth --folder_lq ./data/ --scale 4 --large_model --tile 640')
19
  return "./results/data.png"
20
 
21
 
 
15
  img = ImageOps.contain(img, (700, 700))
16
  width, height = img.size
17
  img.save("./data/data.png")
18
+ os.system('python main_test_swinir.py')
19
  return "./results/data.png"
20
 
21