Unverified Commit 3ebbaf7c authored by dqueue's avatar dqueue Committed by GitHub
Browse files

Update control_brightness.mdx (#3825)

parent 73b125df
......@@ -24,7 +24,7 @@ Next, configure the following parameters in the [`DDIMScheduler`]:
```py
>>> from diffusers import DiffusionPipeline, DDIMScheduler
>>> pipeline = DiffusioPipeline.from_pretrained("ptx0/pseudo-journey-v2")
>>> pipeline = DiffusionPipeline.from_pretrained("ptx0/pseudo-journey-v2")
# switch the scheduler in the pipeline to use the DDIMScheduler
>>> pipeline.scheduler = DDIMScheduler.from_config(
......@@ -42,4 +42,4 @@ image = pipeline(prompt, guidance_rescale=0.7).images[0]
<div class="flex justify-center">
<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/zero_snr.png"/>
</div>
\ No newline at end of file
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment