akhaliq HF staff commited on
Commit
04a5dfa
1 Parent(s): 69dff0e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ def resize(width,img):
22
  return img
23
 
24
  def inference(img):
25
- img = resize(128,img)
26
  img.save("test/test.png")
27
  os.system("python inference_realbasicvsr.py configs/realbasicvsr_x4.py RealBasicVSR_x4.pth test/ results/demo_000")
28
  return "results/demo_000/test.png"
 
22
  return img
23
 
24
  def inference(img):
25
+ img = resize(256,img)
26
  img.save("test/test.png")
27
  os.system("python inference_realbasicvsr.py configs/realbasicvsr_x4.py RealBasicVSR_x4.pth test/ results/demo_000")
28
  return "results/demo_000/test.png"