白鹭先生
commited on
Commit
·
e28d97e
1
Parent(s):
280405e
修复
Browse files- app.py +2 -2
- requirements.txt +1 -2
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
Author: Egrt
|
| 3 |
Date: 2022-03-19 10:23:48
|
| 4 |
LastEditors: Egrt
|
| 5 |
-
LastEditTime: 2022-03-
|
| 6 |
FilePath: \Luuu\app.py
|
| 7 |
'''
|
| 8 |
|
|
@@ -11,7 +11,7 @@ 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 |
-
|
| 15 |
from zipfile import ZipFile
|
| 16 |
gis = GIS()
|
| 17 |
|
|
|
|
| 2 |
Author: Egrt
|
| 3 |
Date: 2022-03-19 10:23:48
|
| 4 |
LastEditors: Egrt
|
| 5 |
+
LastEditTime: 2022-03-21 00:05:27
|
| 6 |
FilePath: \Luuu\app.py
|
| 7 |
'''
|
| 8 |
|
|
|
|
| 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
|
| 16 |
gis = GIS()
|
| 17 |
|
requirements.txt
CHANGED
|
@@ -25,5 +25,4 @@
|
|
| 25 |
# zipp==3.4.0
|
| 26 |
# pycocotools==2.0.3
|
| 27 |
# sklearn
|
| 28 |
-
rasterio==1.1.3
|
| 29 |
-
gdal==3.0.4
|
|
|
|
| 25 |
# zipp==3.4.0
|
| 26 |
# pycocotools==2.0.3
|
| 27 |
# sklearn
|
| 28 |
+
rasterio==1.1.3
|
|
|