From df67d521ee4adbcf1a523c136263f6e162be79f4 Mon Sep 17 00:00:00 2001 From: Dhruv Nair Date: Wed, 8 Oct 2025 13:51:07 +0530 Subject: [PATCH] Apply suggestion from @stevhliu Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com> --- docs/source/en/modular_diffusers/custom_blocks.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docs/source/en/modular_diffusers/custom_blocks.md b/docs/source/en/modular_diffusers/custom_blocks.md index 511a59bfd4..1f01e86e19 100644 --- a/docs/source/en/modular_diffusers/custom_blocks.md +++ b/docs/source/en/modular_diffusers/custom_blocks.md @@ -248,9 +248,7 @@ class Florence2ImageAnnotatorBlock(ModularPipelineBlocks): return components, state ``` -Now that we have defined our custom block, we can save it as a model repository on the Huggingface Hub so that it is easy to share and reuse. - -There are two ways to save the block: +Save the custom block to the Hub, from either the CLI or with the [`push_to_hub`] method, so you can easily share and reuse it. 1. From the CLI