codeslake commited on
Commit
e7e1eaf
1 Parent(s): 9aa074b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -20,6 +20,7 @@ Ref_path = "test/test/HR/W/0000"
20
  Ref_path_T = "test/test/HR/W/0000"
21
  os.makedirs(LR_path)
22
  os.makedirs(Ref_path)
 
23
 
24
  def resize(width,img):
25
  basewidth = width
@@ -48,10 +49,10 @@ def inference(LR, Ref):
48
  --cpu \
49
  --is_gradio")
50
 
51
- return "result/LR.png"
52
 
53
  title="RefVSR"
54
- description="Demo application for Reference-based Video Super-Resolution. Upload a low-resolution frame and a reference frame to 'LR' and 'Ref' input windows, respectively."
55
 
56
  article = "<p style='text-align: center'><a href='https://junyonglee.me/projects/RefVSR' target='_blank'>Project</a> | <a href='https://arxiv.org/abs/2203.14537' target='_blank'>arXiv</a> | <a href='https://github.com/codeslake/RefVSR' target='_blank'>Github</a></p>"
57
 
 
20
  Ref_path_T = "test/test/HR/W/0000"
21
  os.makedirs(LR_path)
22
  os.makedirs(Ref_path)
23
+ os.makedirs('result')
24
 
25
  def resize(width,img):
26
  basewidth = width
 
49
  --cpu \
50
  --is_gradio")
51
 
52
+ return "result/0000.png"
53
 
54
  title="RefVSR"
55
+ description="Demo application for Reference-based Video Super-Resolution (RefVSR).\nInstruction: Upload a low-resolution frame and a reference frame to 'LR' and 'Ref' input windows, respectively.\nNote 1: This demo only supports RefVSR for a single LR and Ref frame due to computational complexity. Hence, the model might not take advantage of temporal frames. \nNoe 2: The spatial size of input LR and Ref frames are 1920x1080 (HD), and they are in the PNG format."
56
 
57
  article = "<p style='text-align: center'><a href='https://junyonglee.me/projects/RefVSR' target='_blank'>Project</a> | <a href='https://arxiv.org/abs/2203.14537' target='_blank'>arXiv</a> | <a href='https://github.com/codeslake/RefVSR' target='_blank'>Github</a></p>"
58