From 258790b4be68592958ac05d7bf46a475b5872102 Mon Sep 17 00:00:00 2001 From: Andrei Filatov <43551010+anvilarth@users.noreply.github.com> Date: Mon, 23 Oct 2023 18:13:49 +0300 Subject: [PATCH] Update README.md Right now, only "main" branch has this community pipeline code. So, adding it manually into pipeline --- examples/community/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/community/README.md b/examples/community/README.md index 015b904bee28..1073240d8b94 100755 --- a/examples/community/README.md +++ b/examples/community/README.md @@ -2165,7 +2165,7 @@ The model can be used with `diffusers` as follows: from diffusers import DiffusionPipeline import torch -pipe = DiffusionPipeline.from_pretrained("SimianLuo/LCM_Dreamshaper_v7", custom_pipeline="latent_consistency_txt2img") +pipe = DiffusionPipeline.from_pretrained("SimianLuo/LCM_Dreamshaper_v7", custom_pipeline="latent_consistency_txt2img", custom_revision="main") # To save GPU memory, torch.float16 can be used, but it may compromise image quality. pipe.to(torch_device="cuda", torch_dtype=torch.float32)