Update README.md
Browse files
README.md
CHANGED
@@ -25,7 +25,7 @@ weight_dtype = torch.float16
|
|
25 |
pipeline = StableDiffusionPipeline.from_pretrained(pretrained_model_name_or_path, torch_dtype=weight_dtype).to("cuda")
|
26 |
pipeline.load_lora_weights("xchuan/lora-stable-diffusion-2-1-fupo")
|
27 |
pipeline.scheduler = DDIMScheduler.from_config(pipeline.scheduler.config)
|
28 |
-
prompt = "
|
29 |
|
30 |
# 使用加载的 LoRA 模型进行推理
|
31 |
image = pipeline(prompt).images[0]
|
|
|
25 |
pipeline = StableDiffusionPipeline.from_pretrained(pretrained_model_name_or_path, torch_dtype=weight_dtype).to("cuda")
|
26 |
pipeline.load_lora_weights("xchuan/lora-stable-diffusion-2-1-fupo")
|
27 |
pipeline.scheduler = DDIMScheduler.from_config(pipeline.scheduler.config)
|
28 |
+
prompt = "A cartoon woman with pigtails, round face, colorful dress, and sunglasses"
|
29 |
|
30 |
# 使用加载的 LoRA 模型进行推理
|
31 |
image = pipeline(prompt).images[0]
|