sschellhammer commited on
Commit
d0804e7
·
verified ·
1 Parent(s): 6fd375c

Create load_existing_annotations.py

Browse files
Files changed (1) hide show
  1. load_existing_annotations.py +7 -0
load_existing_annotations.py ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ import os
2
+ from huggingface_hub import snapshot_download
3
+
4
+ hf_token = os.environ["HF_TOKEN"]
5
+
6
+ snapshot_download(repo_id="sschellhammer/potato_annotation_data", repo_type="dataset", local_dir="/app/outputs", token=hf_token)
7
+ print("downloaded existing annotations to /app/outputs")