白鹭先生
commited on
Commit
·
738b16a
1
Parent(s):
4553f21
修复
Browse files- app.py +2 -1
- requirements.txt +0 -1
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-20 15:
|
6 |
FilePath: \Luuu\app.py
|
7 |
'''
|
8 |
|
@@ -11,6 +11,7 @@ import gradio as gr
|
|
11 |
import os
|
12 |
|
13 |
os.system('apt install libgl1-mesa-glx')
|
|
|
14 |
|
15 |
os.system('pip install requirements.txt')
|
16 |
from zipfile import ZipFile
|
|
|
2 |
Author: Egrt
|
3 |
Date: 2022-03-19 10:23:48
|
4 |
LastEditors: Egrt
|
5 |
+
LastEditTime: 2022-03-20 15:18:30
|
6 |
FilePath: \Luuu\app.py
|
7 |
'''
|
8 |
|
|
|
11 |
import os
|
12 |
|
13 |
os.system('apt install libgl1-mesa-glx')
|
14 |
+
os.system('conda install gdal')
|
15 |
|
16 |
os.system('pip install requirements.txt')
|
17 |
from zipfile import ZipFile
|
requirements.txt
CHANGED
@@ -8,7 +8,6 @@ tqdm==4.63.0
|
|
8 |
Pillow==8.2.0
|
9 |
h5py==2.10.0
|
10 |
gradio==2.5.3
|
11 |
-
gdal
|
12 |
jsmin==3.0.1
|
13 |
kornia==0.5.0
|
14 |
shapely==1.8.1
|
|
|
8 |
Pillow==8.2.0
|
9 |
h5py==2.10.0
|
10 |
gradio==2.5.3
|
|
|
11 |
jsmin==3.0.1
|
12 |
kornia==0.5.0
|
13 |
shapely==1.8.1
|