Yihong Luo
commited on
Commit
•
6262708
1
Parent(s):
569bc96
Update README.md
Browse files
README.md
CHANGED
@@ -34,15 +34,15 @@ pipeline.scheduler = LCMScheduler.from_config(pipeline.scheduler.config)
|
|
34 |
pipeline.load_lora_weights('Yihong666/yoso_sd1.5_lora')
|
35 |
generator = torch.manual_seed(318)
|
36 |
steps = 1
|
37 |
-
|
38 |
num_inference_steps=1,
|
39 |
num_images_per_prompt = 1,
|
40 |
generator = generator,
|
41 |
guidance_scale=1.,
|
42 |
)[0]
|
43 |
-
|
44 |
```
|
45 |
-
|
46 |
### 2-step inference
|
47 |
We note that a small CFG can be used to enhance the image quality.
|
48 |
```python
|
|
|
34 |
pipeline.load_lora_weights('Yihong666/yoso_sd1.5_lora')
|
35 |
generator = torch.manual_seed(318)
|
36 |
steps = 1
|
37 |
+
imgs = pipeline(prompt="A photo of a corgi in forest, highly detailed, 8k, XT3.",
|
38 |
num_inference_steps=1,
|
39 |
num_images_per_prompt = 1,
|
40 |
generator = generator,
|
41 |
guidance_scale=1.,
|
42 |
)[0]
|
43 |
+
imgs[0]
|
44 |
```
|
45 |
+
[Corgi](!corgi.jpg)
|
46 |
### 2-step inference
|
47 |
We note that a small CFG can be used to enhance the image quality.
|
48 |
```python
|