vrk05 commited on
Commit
6162964
β€’
1 Parent(s): 34b39af
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -1,7 +1,10 @@
 
1
  import os
2
  from huggingface_hub import hf_hub_download
3
- config_path=hf_hub_download(repo_id="vrk05/Flooding_IBM", filename="floods_fine.pth", token=os.environ.get("token"))
4
- ckpt=hf_hub_download(repo_id="vrk05/Flooding_IBM", filename='floods_fine.pth', token=os.environ.get("token"))
 
 
5
 
6
  import argparse
7
  from mmcv import Config
@@ -217,4 +220,4 @@ with gr.Blocks() as demo:
217
  cache_examples=True,
218
  )
219
 
220
- demo.launch()
 
1
+ ######### pull files
2
  import os
3
  from huggingface_hub import hf_hub_download
4
+ config_path=hf_hub_download(repo_id="ibm-nasa-geospatial/Prithvi-100M-sen1floods11", filename="sen1floods11_Prithvi_100M.py", token=os.environ.get("token"))
5
+ ckpt=hf_hub_download(repo_id="ibm-nasa-geospatial/Prithvi-100M-sen1floods11", filename='sen1floods11_Prithvi_100M.pth', token=os.environ.get("token"))
6
+ ##########
7
+
8
 
9
  import argparse
10
  from mmcv import Config
 
220
  cache_examples=True,
221
  )
222
 
223
+ demo.launch()