Skip to content

Commit

Permalink
resume download false
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreaFrancis committed Oct 5, 2023
1 parent 2547434 commit 1784dc1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 0 additions & 1 deletion libs/libapi/src/libapi/duckdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ def download_index_file(
local_dir_use_symlinks=False,
token=hf_token,
cache_dir=cache_folder,
force_download=True,
)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,7 @@ def compute_descriptive_statistics_response(
token=hf_token,
cache_dir=local_parquet_directory,
force_download=True,
resume_download=False,
)

local_parquet_glob_path = Path(local_parquet_directory) / config / f"{split}/*.parquet"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ def compute_index_rows(
token=hf_token,
cache_dir=duckdb_index_file_directory,
force_download=True,
resume_download=False,
)

all_split_parquets = f"{duckdb_index_file_directory}/{config}/{split_directory}/*.parquet"
Expand Down

0 comments on commit 1784dc1

Please sign in to comment.