白鹭先生 commited on
Commit
41a8223
·
1 Parent(s): 982eb8c
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +2 -2
app.py CHANGED
@@ -2,14 +2,14 @@
2
  Author: Egrt
3
  Date: 2022-03-19 10:23:48
4
  LastEditors: Egrt
5
- LastEditTime: 2022-03-20 14:42:51
6
  FilePath: \Luuu\app.py
7
  '''
8
 
9
  from gis import GIS
10
  import gradio as gr
11
  import os
12
- os.system('pip install https://sourceforge.net/projects/gdal-wheels-for-linux/files/GDAL-3.1.4-cp38-cp38m-manylinux_2_5_x86_64.manylinux1_x86_64.whl/download')
13
 
14
  os.system('pip install requirements.txt')
15
  from zipfile import ZipFile
 
2
  Author: Egrt
3
  Date: 2022-03-19 10:23:48
4
  LastEditors: Egrt
5
+ LastEditTime: 2022-03-20 14:48:21
6
  FilePath: \Luuu\app.py
7
  '''
8
 
9
  from gis import GIS
10
  import gradio as gr
11
  import os
12
+ os.system('conda install gdal')
13
 
14
  os.system('pip install requirements.txt')
15
  from zipfile import ZipFile
requirements.txt CHANGED
@@ -2,8 +2,8 @@ scipy==1.4.1
2
  numpy==1.22.3
3
  matplotlib==3.3.2
4
  opencv_python==4.5.4.60
5
- torch==1.4.0
6
- torchvision==0.5.0
7
  tqdm==4.63.0
8
  Pillow==8.2.0
9
  h5py==2.10.0
 
2
  numpy==1.22.3
3
  matplotlib==3.3.2
4
  opencv_python==4.5.4.60
5
+ torch==1.7.0
6
+ torchvision==0.8.0
7
  tqdm==4.63.0
8
  Pillow==8.2.0
9
  h5py==2.10.0