Skip to content

Commit

Permalink
Replace messages that have empty backquotes (huggingface#738)
Browse files Browse the repository at this point in the history
Replace message with empty backquotes.

This was part of huggingface#733, I was too slow to review :)
  • Loading branch information
pcuenca authored Oct 5, 2022
1 parent 19e559d commit 5493524
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/diffusers/dynamic_modules_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,8 @@ def get_cached_module_file(
<Tip>
Passing `` is required when you want to use a private model.
You may pass a token in `use_auth_token` if you are not logged in (`huggingface-cli long`) and
want to use private or [gated models](https://huggingface.co/docs/hub/models-gated#gated-models).
</Tip>
Expand Down Expand Up @@ -306,7 +307,8 @@ def get_class_from_dynamic_module(
<Tip>
Passing `` is required when you want to use a private model.
You may pass a token in `use_auth_token` if you are not logged in (`huggingface-cli long`) and
want to use private or [gated models](https://huggingface.co/docs/hub/models-gated#gated-models).
</Tip>
Expand Down

0 comments on commit 5493524

Please sign in to comment.