codeslake commited on
Commit
0af8cdb
1 Parent(s): e75d574

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -19,15 +19,14 @@ sys.path.append("RefVSR")
19
  LR_path = "test/RealMCVSR/test/HR/UW/0000"
20
  Ref_path = "test/RealMCVSR/test/HR/W/0000"
21
  Ref_path_T = "test/RealMCVSR/test/HR/T/0000"
22
- os.system("wget https://www.dropbox.com/s/xv6inxwy0so4ni0/LR.png -O {}/0000.png".format(LR_path))
23
- os.system("wget https://www.dropbox.com/s/abydd1oczs1163l/Ref.png -O {}/0000.png".format(Ref_path))
24
- os.system("wget https://www.dropbox.com/s/abydd1oczs1163l/Ref.png -O {}/0000.png".format(Ref_path_T))
25
-
26
  os.makedirs(LR_path)
27
  os.makedirs(Ref_path)
28
  os.makedirs(Ref_path_T)
29
  os.makedirs('result')
30
 
 
 
 
31
 
32
  def resize(img):
33
  max_side = 1024
 
19
  LR_path = "test/RealMCVSR/test/HR/UW/0000"
20
  Ref_path = "test/RealMCVSR/test/HR/W/0000"
21
  Ref_path_T = "test/RealMCVSR/test/HR/T/0000"
 
 
 
 
22
  os.makedirs(LR_path)
23
  os.makedirs(Ref_path)
24
  os.makedirs(Ref_path_T)
25
  os.makedirs('result')
26
 
27
+ os.system("wget https://www.dropbox.com/s/xv6inxwy0so4ni0/LR.png -O {}/0000.png".format(LR_path))
28
+ os.system("wget https://www.dropbox.com/s/abydd1oczs1163l/Ref.png -O {}/0000.png".format(Ref_path))
29
+ os.system("wget https://www.dropbox.com/s/abydd1oczs1163l/Ref.png -O {}/0000.png".format(Ref_path_T))
30
 
31
  def resize(img):
32
  max_side = 1024