1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-27 17:22:53 +03:00

Apply suggestion from @stevhliu

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
This commit is contained in:
Dhruv Nair
2025-10-08 13:51:07 +05:30
committed by GitHub
parent ddaf986eb4
commit df67d521ee

View File

@@ -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