Update deprecated HuggingFace function (#5144)
Changing `list_files_info` to `list_repo_tree`:
```
FutureWarning: 'list_files_info' (from 'huggingface_hub.hf_api') is deprecated and will be removed from version '0.23'. Use `list_repo_tree` and `get_paths_info` instead.
```