burtenshaw HF staff commited on
Commit
63a8770
1 Parent(s): 02ba0ad

Update hub.py

Browse files
Files changed (1) hide show
  1. hub.py +1 -1
hub.py CHANGED
@@ -115,7 +115,7 @@ def push_pipeline_to_hub(
115
  def pull_seed_data_from_repo(repo_id, hub_token):
116
  # pull the dataset repo from the hub
117
  hf_api.hf_hub_download(
118
- repo_id=repo_id, token=hub_token, repo_type="dataset", filename=SEED_DATA_PATH
119
  )
120
  return json.load(open(SEED_DATA_PATH))
121
 
 
115
  def pull_seed_data_from_repo(repo_id, hub_token):
116
  # pull the dataset repo from the hub
117
  hf_api.hf_hub_download(
118
+ repo_id=repo_id, token=hub_token, repo_type="dataset", filename=SEED_DATA_PATH, force_download=True
119
  )
120
  return json.load(open(SEED_DATA_PATH))
121