白鹭先生
commited on
Commit
·
369058b
1
Parent(s):
f6c2d9d
修复
Browse files- app.py +2 -2
- requirements.txt +0 -1
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 16:
|
| 6 |
FilePath: \Luuu\app.py
|
| 7 |
'''
|
| 8 |
|
| 9 |
from gis import GIS
|
| 10 |
import gradio as gr
|
| 11 |
import os
|
| 12 |
-
|
| 13 |
os.system('apt install libgl1-mesa-glx')
|
| 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 16:24:59
|
| 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 GDAL-3.4.1-cp38-cp38-manylinux_2_5_x86_64.whl')
|
| 13 |
os.system('apt install libgl1-mesa-glx')
|
| 14 |
os.system('pip install requirements.txt')
|
| 15 |
from zipfile import ZipFile
|
requirements.txt
CHANGED
|
@@ -16,7 +16,6 @@ skan==0.10.0
|
|
| 16 |
descartes==1.1.0
|
| 17 |
multiprocess==0.70.12.2
|
| 18 |
dill==0.3.4
|
| 19 |
-
gdal==3.4.1
|
| 20 |
rasterio==1.2.10
|
| 21 |
overpy==0.6
|
| 22 |
pyproj==2.5.0
|
|
|
|
| 16 |
descartes==1.1.0
|
| 17 |
multiprocess==0.70.12.2
|
| 18 |
dill==0.3.4
|
|
|
|
| 19 |
rasterio==1.2.10
|
| 20 |
overpy==0.6
|
| 21 |
pyproj==2.5.0
|