Luo-Yihong commited on
Commit
7cf8c81
1 Parent(s): 51100f3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -10,7 +10,7 @@ The YOSO was proposed in You Only Sample Once: Taming One-Step Text-To-Image Syn
10
  pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype = torch.float16)
11
  pipeline = pipeline.to('cuda')
12
  pipeline.scheduler = LCMScheduler.from_config(pipeline.scheduler.config)
13
- pipeline.load_lora_weights('Yihong666/yoso_sd1.5_lora')
14
  generator = torch.manual_seed(318)
15
  steps = 1
16
  bs = 1
@@ -51,7 +51,7 @@ We note that a small CFG can be used to enhance the image quality.
51
  pipeline = DiffusionPipeline.from_pretrained("stablediffusionapi/realistic-vision-v51", torch_dtype = torch.float16)
52
  pipeline = pipeline.to('cuda')
53
  pipeline.scheduler = LCMScheduler.from_config(pipeline.scheduler.config)
54
- pipeline.load_lora_weights('Yihong666/yoso_sd1.5_lora')
55
  generator = torch.manual_seed(318)
56
  steps = 2
57
  imgs= pipeline(prompt="A photo of a man, XT3",
 
10
  pipeline = DiffusionPipeline.from_pretrained("runwayml/stable-diffusion-v1-5", torch_dtype = torch.float16)
11
  pipeline = pipeline.to('cuda')
12
  pipeline.scheduler = LCMScheduler.from_config(pipeline.scheduler.config)
13
+ pipeline.load_lora_weights('Luo-Yihong/yoso_sd1.5_lora')
14
  generator = torch.manual_seed(318)
15
  steps = 1
16
  bs = 1
 
51
  pipeline = DiffusionPipeline.from_pretrained("stablediffusionapi/realistic-vision-v51", torch_dtype = torch.float16)
52
  pipeline = pipeline.to('cuda')
53
  pipeline.scheduler = LCMScheduler.from_config(pipeline.scheduler.config)
54
+ pipeline.load_lora_weights('Luo-Yihong/yoso_sd1.5_lora')
55
  generator = torch.manual_seed(318)
56
  steps = 2
57
  imgs= pipeline(prompt="A photo of a man, XT3",