Update app.py (#5)
Browse files- Update app.py (33e200f97181393d20fba05aa5102f7d9de32384)
Co-authored-by: Fernando Tentor <[email protected]>
app.py
CHANGED
@@ -1,10 +1,10 @@
|
|
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-multi-temporal-crop-classification",
|
5 |
filename="multi_temporal_crop_classification_Prithvi_100M.py",
|
6 |
token=os.environ.get("token"))
|
7 |
-
ckpt=hf_hub_download(repo_id="ibm-nasa-geospatial/Prithvi-100M-multi-temporal-crop-classification",
|
8 |
filename='multi_temporal_crop_classification_Prithvi_100M.pth',
|
9 |
token=os.environ.get("token"))
|
10 |
##########
|
|
|
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-EO-1.0-100M-multi-temporal-crop-classification",
|
5 |
filename="multi_temporal_crop_classification_Prithvi_100M.py",
|
6 |
token=os.environ.get("token"))
|
7 |
+
ckpt=hf_hub_download(repo_id="ibm-nasa-geospatial/Prithvi-EO-1.0-100M-multi-temporal-crop-classification",
|
8 |
filename='multi_temporal_crop_classification_Prithvi_100M.pth',
|
9 |
token=os.environ.get("token"))
|
10 |
##########
|