"tests/pipelines/vscode:/vscode.git/clone" did not exist on "4e59bcc680ba4f68bc8d45249db5fe7a078413db"
Unverified Commit 6a03060c authored by Pedro Cuenca's avatar Pedro Cuenca Committed by GitHub
Browse files

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 df90f0ce.
parent 2b766918
...@@ -33,6 +33,7 @@ from .import_utils import ( ...@@ -33,6 +33,7 @@ from .import_utils import (
is_torch_available, is_torch_available,
is_transformers_available, is_transformers_available,
is_unidecode_available, is_unidecode_available,
is_modelcards_available,
requires_backends, requires_backends,
) )
from .logging import get_logger from .logging import get_logger
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment