huggingface_hub
9a0497ef - Download file to specific destination (#1360)

Commit
2 years ago
Download file to specific destination (#1360) * Add local_dir option to fhf_hub_download/snapshot_download + docstring + tests * add snapshot_download test + fix is subdirectory * return local_dir in snapshot_download + fix * adapt tests * refactor snapshot download test -remove duplicate tests * small * remove unrelated image * updated download.mdx * doc * Fix CI on windows * better fix for windows * warn about symlinks in doc * docs * fix readlink test * fix windows ci * Apply suggestions from code review Co-authored-by: Pedro Cuenca <pedro@huggingface.co> * Add auto local_dir_use_symlink * doc update * fix tests * style * broken doc * test files are overwritten if any * fix test * overview * Update src/huggingface_hub/file_download.py Co-authored-by: Lysandre Debut <lysandre.debut@reseau.eseo.fr> --------- Co-authored-by: Pedro Cuenca <pedro@huggingface.co> Co-authored-by: Lysandre Debut <lysandre.debut@reseau.eseo.fr>
Author
Parents
Loading