Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,10 @@ FilePath: \Luuu\app.py
|
|
| 8 |
|
| 9 |
from gis import GIS
|
| 10 |
import gradio as gr
|
|
|
|
|
|
|
| 11 |
import os
|
|
|
|
| 12 |
os.system('pip install requirements.txt')
|
| 13 |
from zipfile import ZipFile
|
| 14 |
gis = GIS()
|
|
|
|
| 8 |
|
| 9 |
from gis import GIS
|
| 10 |
import gradio as gr
|
| 11 |
+
from huggingface_hub import hf_hub_download
|
| 12 |
+
filepath = hf_hub_download(repo_id="Egrt/Luuuu", filename="GDAL-3.4.1-cp38-cp38-manylinux_2_5_x86_64.whl")
|
| 13 |
import os
|
| 14 |
+
os.system('pip install {}'.format(filepath))
|
| 15 |
os.system('pip install requirements.txt')
|
| 16 |
from zipfile import ZipFile
|
| 17 |
gis = GIS()
|