Pastuu commited on
Commit
8331e09
1 Parent(s): 2577c4e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  import numpy as np
2
  import gradio as gr
3
  from PIL import Image
 
1
+ from huggingface_hub import hf_hub_download
2
+ config_path=hf_hub_download(repo_id="ibm-nasa-geospatial/Prithvi-100M-sen1floods11", filename="sen1floods11_Prithvi_100M.py", token=os.environ.get("token"))
3
+ ckpt=hf_hub_download(repo_id="ibm-nasa-geospatial/Prithvi-100M-sen1floods11", filename='sen1floods11_Prithvi_100M.pth', token=os.environ.get("token"))
4
  import numpy as np
5
  import gradio as gr
6
  from PIL import Image