From 331a7a13562a36cc0d7e25127de9216ce0d8be44 Mon Sep 17 00:00:00 2001 From: Dhruv Nair Date: Wed, 8 Oct 2025 14:26:46 +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 39a6359fb0..6412865622 100644 --- a/docs/source/en/modular_diffusers/custom_blocks.md +++ b/docs/source/en/modular_diffusers/custom_blocks.md @@ -25,9 +25,7 @@ The project should be structured as shown below. The custom block code is contai └── modular_config.json ``` -The code to define the custom block lives in a file called `block.py`. The `modular_config.json` file contains metadata for loading the block with Modular Diffusers. - -In this example, we will create a custom block that uses the Florence 2 model to process an input image and generate a mask for inpainting +This example creates a custom block that uses the [Florence 2](https://huggingface.co/docs/transformers/model_doc/florence2) model to process an input image and generate a mask for inpainting. ```py from typing import List, Union