JunchuanYu commited on
Commit
0695d3a
1 Parent(s): 16ff3a2

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +4 -7
run.py CHANGED
@@ -1,9 +1,9 @@
1
  from huggingface_hub import hf_hub_download
2
 
3
- filepath = hf_hub_download(
4
- repo_id="Egrt/Luuuu", filename="GDAL-3.4.1-cp38-cp38-manylinux_2_5_x86_64.whl")
5
- import os
6
- os.system('pip install {}'.format(filepath))
7
 
8
 
9
  import os,glob,h5py,time
@@ -14,14 +14,11 @@ from osgeo import gdal
14
  from matplotlib import pyplot as plt
15
  from tqdm import tqdm
16
 
17
-
18
-
19
  token = os.environ['HUB_TOKEN']
20
  loc =hf_hub_download(repo_id="JunchuanYu/file_for_rs-tile-creator", filename="utils.py",repo_type="dataset",local_dir='.',token=token)
21
  sys.path.append(loc)
22
  from utils import *
23
 
24
-
25
  title=(""" # <p align="center"> Remote Sensing Tile Dataset Creator 🛰️ <b>
26
  ### <p align="center"> yujunchuan (yujunchuna@mail.cgs.gov.cn)<b>""")
27
 
 
1
  from huggingface_hub import hf_hub_download
2
 
3
+ # filepath = hf_hub_download(
4
+ # repo_id="Egrt/Luuuu", filename="GDAL-3.4.1-cp38-cp38-manylinux_2_5_x86_64.whl")
5
+ # import os
6
+ # os.system('pip install {}'.format(filepath))
7
 
8
 
9
  import os,glob,h5py,time
 
14
  from matplotlib import pyplot as plt
15
  from tqdm import tqdm
16
 
 
 
17
  token = os.environ['HUB_TOKEN']
18
  loc =hf_hub_download(repo_id="JunchuanYu/file_for_rs-tile-creator", filename="utils.py",repo_type="dataset",local_dir='.',token=token)
19
  sys.path.append(loc)
20
  from utils import *
21
 
 
22
  title=(""" # <p align="center"> Remote Sensing Tile Dataset Creator 🛰️ <b>
23
  ### <p align="center"> yujunchuan (yujunchuna@mail.cgs.gov.cn)<b>""")
24