Spaces:
Build error
Build error
白鹭先生
commited on
Commit
·
1d8bb13
1
Parent(s):
db5513e
修复库依赖
Browse files- app.py +2 -1
- requirements.txt +2 -1
app.py
CHANGED
@@ -5,7 +5,8 @@ LastEditors: Egrt
|
|
5 |
LastEditTime: 2022-01-13 13:48:57
|
6 |
FilePath: \LicenseGAN\app.py
|
7 |
'''
|
8 |
-
|
|
|
9 |
from PIL import Image
|
10 |
|
11 |
from esrgan import ESRGAN
|
|
|
5 |
LastEditTime: 2022-01-13 13:48:57
|
6 |
FilePath: \LicenseGAN\app.py
|
7 |
'''
|
8 |
+
import os
|
9 |
+
os.system('pip install requirements.txt')
|
10 |
from PIL import Image
|
11 |
|
12 |
from esrgan import ESRGAN
|
requirements.txt
CHANGED
@@ -7,4 +7,5 @@ torchvision==0.8.0
|
|
7 |
tqdm==4.47.0
|
8 |
Pillow==7.2.0
|
9 |
h5py==2.10.0
|
10 |
-
gradio==2.5.3
|
|
|
|
7 |
tqdm==4.47.0
|
8 |
Pillow==7.2.0
|
9 |
h5py==2.10.0
|
10 |
+
gradio==2.5.3
|
11 |
+
timm==0.4.12
|