白鹭先生 commited on
Commit
58f1e24
1 Parent(s): 03d61a3

修复库安装

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ LastEditTime: 2022-01-13 13:48:57
6
  FilePath: \LicenseGAN\app.py
7
  '''
8
  import os
9
- os.system('pip install torch==1.4.0+cpu torchvision==0.5.0+cpu')
10
  os.system('pip install gradio==2.5.3')
11
  from PIL import Image
12
  from esrgan import ESRGAN
 
6
  FilePath: \LicenseGAN\app.py
7
  '''
8
  import os
9
+ os.system('pip install torch==1.4.0 torchvision==0.5.0')
10
  os.system('pip install gradio==2.5.3')
11
  from PIL import Image
12
  from esrgan import ESRGAN