Skip to content

Commit 78a5028

Browse files
Apply style fixes
1 parent c0e0731 commit 78a5028

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/diffusers/utils/dynamic_modules_utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,8 +292,8 @@ def get_cached_module_file(
292292
If `True`, will only try to load the tokenizer configuration from local files.
293293
trust_remote_code (`bool`, *optional*, defaults to `False`):
294294
Whether or not to allow for custom pipelines and components defined on the Hub in their own files. This
295-
option should only be set to `True` for repositories you trust and in which you have read the code, as
296-
it will execute code present on the Hub on your local machine.
295+
option should only be set to `True` for repositories you trust and in which you have read the code, as it
296+
will execute code present on the Hub on your local machine.
297297
298298
> [!TIP] > You may pass a token in `token` if you are not logged in (`hf auth login`) and want to use private or
299299
[gated > models](https://huggingface.co/docs/hub/models-gated#gated-models).
@@ -510,8 +510,8 @@ def get_class_from_dynamic_module(
510510
If `True`, will only try to load the tokenizer configuration from local files.
511511
trust_remote_code (`bool`, *optional*, defaults to `False`):
512512
Whether or not to allow for custom pipelines and components defined on the Hub in their own files. This
513-
option should only be set to `True` for repositories you trust and in which you have read the code, as
514-
it will execute code present on the Hub on your local machine.
513+
option should only be set to `True` for repositories you trust and in which you have read the code, as it
514+
will execute code present on the Hub on your local machine.
515515
516516
> [!TIP] > You may pass a token in `token` if you are not logged in (`hf auth login`) and want to use private or
517517
[gated > models](https://huggingface.co/docs/hub/models-gated#gated-models).

0 commit comments

Comments
 (0)