sschellhammer commited on
Commit
2f1575a
·
verified ·
1 Parent(s): 1c1bc57

Update setup_files.py

Browse files
Files changed (1) hide show
  1. setup_files.py +4 -1
setup_files.py CHANGED
@@ -1,5 +1,8 @@
 
1
  from huggingface_hub import hf_hub_download
2
 
 
 
3
 
4
- hf_hub_download(repo_id="sschellhammer/potato_app_data", filename="data.json", repo_type="dataset", local_dir="/app")
5
  print("downloaded data.json to /app")
 
1
+ import os
2
  from huggingface_hub import hf_hub_download
3
 
4
+ hf_token = os.environ["HF_TOKEN"]
5
+ print(f"hf_token: {hf_token}")
6
 
7
+ hf_hub_download(repo_id="sschellhammer/potato_app_data", filename="data.json", repo_type="dataset", local_dir="/app", token=hf_token)
8
  print("downloaded data.json to /app")