HikariDawn commited on
Commit
6d00ac8
1 Parent(s): 561c629

fix: path error and delete unnecessary package for inference

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. requirements.txt +5 -5
app.py CHANGED
@@ -106,7 +106,7 @@ if __name__ == '__main__':
106
  ["__assets__/lr_inputs/41.png"],
107
  ["__assets__/lr_inputs/f91.jpg"],
108
  ["__assets__/lr_inputs/image-00440.png"],
109
- ["__assets__/lr_inputs/image-00164.png"],
110
  ["__assets__/lr_inputs/img_eva.jpeg"],
111
  ],
112
  [input_image],
 
106
  ["__assets__/lr_inputs/41.png"],
107
  ["__assets__/lr_inputs/f91.jpg"],
108
  ["__assets__/lr_inputs/image-00440.png"],
109
+ ["__assets__/lr_inputs/image-00164.jpg"],
110
  ["__assets__/lr_inputs/img_eva.jpeg"],
111
  ],
112
  [input_image],
requirements.txt CHANGED
@@ -1,7 +1,7 @@
1
  # Relatively static library (These libraries are comparatively stable, so the version here can be versatile, we attached the version we used in the experiments)
2
  tqdm==4.66.1
3
  numpy==1.26.0
4
- torchsummary==1.5.1
5
  opencv-python==4.8.1.78
6
  scipy==1.11.3
7
  omegaconf==2.3.0
@@ -11,11 +11,11 @@ pandas==2.1.1
11
  pillow==10.0.1
12
  requests==2.31.0
13
  pyyaml==6.0.1
14
- kornia==0.7.0
15
  gradio
16
 
17
 
18
  # Relatively dynamic library (We think that these libraries may frequently modify their API, so it is better to use the same version as below)
19
- pyiqa==0.1.7
20
- pthflops==0.4.2
21
- pillow-heif==0.13.0
 
1
  # Relatively static library (These libraries are comparatively stable, so the version here can be versatile, we attached the version we used in the experiments)
2
  tqdm==4.66.1
3
  numpy==1.26.0
4
+ # torchsummary==1.5.1
5
  opencv-python==4.8.1.78
6
  scipy==1.11.3
7
  omegaconf==2.3.0
 
11
  pillow==10.0.1
12
  requests==2.31.0
13
  pyyaml==6.0.1
14
+ # kornia==0.7.0
15
  gradio
16
 
17
 
18
  # Relatively dynamic library (We think that these libraries may frequently modify their API, so it is better to use the same version as below)
19
+ # pyiqa==0.1.7
20
+ # pthflops==0.4.2
21
+ # pillow-heif==0.13.0