import from the correct file
see
https://github.com/huggingface/huggingface_hub/pull/2474#issuecomment-2302132315
import from the correct file: see
https://github.com/huggingface/huggingface_hub/pull/2474#issuecomment-2302132315