[docs] Migrate syntax (#12390)

* change syntax

* make style
This commit is contained in:
Steven Liu
2025-09-30 10:11:19 -07:00
committed by GitHub
parent d7a1a0363f
commit cc5b31ffc9
239 changed files with 1947 additions and 2656 deletions
+2 -5
View File
@@ -156,11 +156,8 @@ print(source_prompts)
print(target_prompts)
```
<Tip>
Check out the [generation strategy](https://huggingface.co/docs/transformers/main/en/generation_strategies) guide if you're interested in learning more about strategies for generating different quality text.
</Tip>
> [!TIP]
> Check out the [generation strategy](https://huggingface.co/docs/transformers/main/en/generation_strategies) guide if you're interested in learning more about strategies for generating different quality text.
Load the text encoder model used by the [`StableDiffusionDiffEditPipeline`] to encode the text. You'll use the text encoder to compute the text embeddings: