Skip to content

Commit 75edff9

Browse files
committed
Revert "make style && make quality"
This reverts commit 76f51a5.
1 parent 76f51a5 commit 75edff9

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_img2img.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@
8484
>>> from diffusers import ControlNetModel, StableDiffusionXLControlNetImg2ImgPipeline, AutoencoderKL
8585
>>> from diffusers.utils import load_image
8686
87+
8788
>>> depth_estimator = DPTForDepthEstimation.from_pretrained("Intel/dpt-hybrid-midas").to("cuda")
8889
>>> feature_extractor = DPTImageProcessor.from_pretrained("Intel/dpt-hybrid-midas")
8990
>>> controlnet = ControlNetModel.from_pretrained(

src/diffusers/pipelines/hidream_image/pipeline_hidream_image.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
>>> from transformers import AutoTokenizer, LlamaForCausalLM
5454
>>> from diffusers import HiDreamImagePipeline
5555
56+
5657
>>> tokenizer_4 = AutoTokenizer.from_pretrained("meta-llama/Meta-Llama-3.1-8B-Instruct")
5758
>>> text_encoder_4 = LlamaForCausalLM.from_pretrained(
5859
... "meta-llama/Meta-Llama-3.1-8B-Instruct",

src/diffusers/pipelines/pag/pipeline_pag_controlnet_sd_xl_img2img.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@
8585
>>> from diffusers import ControlNetModel, StableDiffusionXLControlNetPAGImg2ImgPipeline, AutoencoderKL
8686
>>> from diffusers.utils import load_image
8787
88+
8889
>>> depth_estimator = DPTForDepthEstimation.from_pretrained("Intel/dpt-hybrid-midas").to("cuda")
8990
>>> feature_extractor = DPTFeatureExtractor.from_pretrained("Intel/dpt-hybrid-midas")
9091
>>> controlnet = ControlNetModel.from_pretrained(

src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_latent_upscale.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ def __call__(
459459
>>> from diffusers import StableDiffusionLatentUpscalePipeline, StableDiffusionPipeline
460460
>>> import torch
461461
462+
462463
>>> pipeline = StableDiffusionPipeline.from_pretrained(
463464
... "CompVis/stable-diffusion-v1-4", torch_dtype=torch.float16
464465
... )

0 commit comments

Comments
 (0)