Restore `is_modelcards_available` in `.utils` (#224)
Restore `is_modelcards_available` in `.utils`.
Otherwise attempting to import `hub_utils` (in training scripts, for
example), fails.
This was removed during the refactor in df90f0c
.
This commit is contained in:
parent
2b7669183e
commit
6a03060c45
|
@ -33,6 +33,7 @@ from .import_utils import (
|
|||
is_torch_available,
|
||||
is_transformers_available,
|
||||
is_unidecode_available,
|
||||
is_modelcards_available,
|
||||
requires_backends,
|
||||
)
|
||||
from .logging import get_logger
|
||||
|
|
Loading…
Reference in New Issue