JunchuanYu commited on
Commit
d109810
1 Parent(s): e0c06ae

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +3 -3
run.py CHANGED
@@ -1,11 +1,10 @@
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
- import os
8
- os.system('pip install -e ./lib')
9
 
10
  import os,glob,h5py,time
11
  import gradio as gr
@@ -14,6 +13,7 @@ import numpy as np
14
  from osgeo import gdal
15
  from matplotlib import pyplot as plt
16
  from tqdm import tqdm
 
17
 
18
  token = os.environ['HUB_TOKEN']
19
  loc =hf_hub_download(repo_id="JunchuanYu/file_for_rs-tile-creator", filename="utils.py",repo_type="dataset",local_dir='.',token=token)
 
 
1
 
2
  # filepath = hf_hub_download(
3
  # repo_id="Egrt/Luuuu", filename="GDAL-3.4.1-cp38-cp38-manylinux_2_5_x86_64.whl")
4
  # import os
5
  # os.system('pip install {}'.format(filepath))
6
+ # import os
7
+ # os.system('pip install -e ./lib')
8
 
9
  import os,glob,h5py,time
10
  import gradio as gr
 
13
  from osgeo import gdal
14
  from matplotlib import pyplot as plt
15
  from tqdm import tqdm
16
+ from huggingface_hub import hf_hub_download
17
 
18
  token = os.environ['HUB_TOKEN']
19
  loc =hf_hub_download(repo_id="JunchuanYu/file_for_rs-tile-creator", filename="utils.py",repo_type="dataset",local_dir='.',token=token)