token: str added for private repos

#1
by idlebg - opened

HTTP 401 Unauthorized Error FIX
401 Unauthorized Error during attempts to download models from private repositories on the Hugging Face model hub. The issue arose due to a missing token in the configuration required for accessing models from private repositories.

Modified convert_single to accept and pass the token to hf_hub_download
& convert to accept and pass the token to convert_single

sayakpaul changed pull request status to merged
🧨Diffusers org

Thank you!

Sign up or log in to comment