From 753bccf4e8d1d1178c1f2bb291ad55ff4e6c8ecc Mon Sep 17 00:00:00 2001 From: Pedro Cuenca Date: Wed, 5 Oct 2022 17:27:48 +0200 Subject: [PATCH] Replace message with empty backquotes. This was part of #733, I was too slow to review :) --- src/diffusers/dynamic_modules_utils.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/diffusers/dynamic_modules_utils.py b/src/diffusers/dynamic_modules_utils.py index c150ed7ddd32..b78ec17839d2 100644 --- a/src/diffusers/dynamic_modules_utils.py +++ b/src/diffusers/dynamic_modules_utils.py @@ -198,7 +198,8 @@ def get_cached_module_file( - 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). @@ -306,7 +307,8 @@ def get_class_from_dynamic_module( - 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).