Create load_existing_annotations.py
Browse files
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")
|