Skip to content

Commit 6a03060

Browse files
authored
Restore is_modelcards_available in .utils (huggingface#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.
1 parent 2b76691 commit 6a03060

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/diffusers/utils/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
is_torch_available,
3434
is_transformers_available,
3535
is_unidecode_available,
36+
is_modelcards_available,
3637
requires_backends,
3738
)
3839
from .logging import get_logger

0 commit comments

Comments
 (0)