bluuebunny commited on
Commit
2a4cd67
·
verified ·
1 Parent(s): b105cdd

Update update_embeddings.py

Browse files

Add force flag to kaggle cli

Files changed (1) hide show
  1. update_embeddings.py +1 -1
update_embeddings.py CHANGED
@@ -87,7 +87,7 @@ if not os.path.exists(download_file) or FORCE:
87
  print(f'Downloading {download_file}, if it exists it will be overwritten')
88
  print('Set FORCE to False to skip download if file already exists')
89
 
90
- subprocess.run(['kaggle', 'datasets', 'download', '--dataset', dataset_path, '--path', download_folder, '--unzip'])
91
 
92
  print(f'Downloaded {download_file}')
93
 
 
87
  print(f'Downloading {download_file}, if it exists it will be overwritten')
88
  print('Set FORCE to False to skip download if file already exists')
89
 
90
+ subprocess.run(['kaggle', 'datasets', 'download', '--dataset', dataset_path, '--path', download_folder, '--unzip', '--force'])
91
 
92
  print(f'Downloaded {download_file}')
93