Update setup_files.py
Browse files- setup_files.py +7 -0
setup_files.py
CHANGED
|
@@ -2,5 +2,12 @@ import os
|
|
| 2 |
from huggingface_hub import hf_hub_download
|
| 3 |
|
| 4 |
hf_token = os.environ["HF_TOKEN"]
|
|
|
|
| 5 |
hf_hub_download(repo_id="sschellhammer/potato_app_data", filename="data.json", repo_type="dataset", local_dir="/app", token=hf_token)
|
| 6 |
print("downloaded data.json to /app")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
from huggingface_hub import hf_hub_download
|
| 3 |
|
| 4 |
hf_token = os.environ["HF_TOKEN"]
|
| 5 |
+
|
| 6 |
hf_hub_download(repo_id="sschellhammer/potato_app_data", filename="data.json", repo_type="dataset", local_dir="/app", token=hf_token)
|
| 7 |
print("downloaded data.json to /app")
|
| 8 |
+
|
| 9 |
+
hf_hub_download(repo_id="sschellhammer/potato_app_data", filename="config.yaml", repo_type="dataset", local_dir="/app", token=hf_token)
|
| 10 |
+
print("downloaded config.yaml to /app")
|
| 11 |
+
|
| 12 |
+
hf_hub_download(repo_id="sschellhammer/potato_app_data", filename="configs/prolific_config.yaml", repo_type="dataset", local_dir="/app", token=hf_token)
|
| 13 |
+
print("downloaded prolific_config.yaml to /app/configs")
|