白鹭先生
commited on
Commit
·
982eb8c
1
Parent(s):
810f84d
修复
Browse files- app.py +3 -2
- requirements.txt +0 -1
app.py
CHANGED
@@ -2,15 +2,16 @@
|
|
2 |
Author: Egrt
|
3 |
Date: 2022-03-19 10:23:48
|
4 |
LastEditors: Egrt
|
5 |
-
LastEditTime: 2022-03-20 14:
|
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 requirements.txt')
|
13 |
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')
|
|
|
|
|
14 |
from zipfile import ZipFile
|
15 |
gis = GIS()
|
16 |
|
|
|
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
|
16 |
gis = GIS()
|
17 |
|
requirements.txt
CHANGED
@@ -15,7 +15,6 @@ skan==0.10.0
|
|
15 |
descartes==1.1.0
|
16 |
multiprocess==0.70.12.2
|
17 |
dill==0.3.4
|
18 |
-
gdal==3.4.1
|
19 |
rasterio==1.2.10
|
20 |
overpy==0.6
|
21 |
pyproj==2.5.0
|
|
|
15 |
descartes==1.1.0
|
16 |
multiprocess==0.70.12.2
|
17 |
dill==0.3.4
|
|
|
18 |
rasterio==1.2.10
|
19 |
overpy==0.6
|
20 |
pyproj==2.5.0
|