Fix huggingface_hub.errors imports after version bump.

This commit is contained in:
Ryan Dick 2024-10-23 18:29:24 +00:00 committed by Mary Hipp Rogers
parent f2966a2594
commit 1a13af3c7a

View File

@ -20,7 +20,7 @@ from typing import Optional
import requests
from huggingface_hub import HfApi, configure_http_backend, hf_hub_url
from huggingface_hub.utils._errors import RepositoryNotFoundError, RevisionNotFoundError
from huggingface_hub.errors import RepositoryNotFoundError, RevisionNotFoundError
from pydantic.networks import AnyHttpUrl
from requests.sessions import Session