Update README.md
Browse files
README.md
CHANGED
@@ -34,16 +34,21 @@ pipeline = AutoPipelineForText2Image.from_pretrained(repo_id,
|
|
34 |
torch_dtype=bnb_4bit_compute_dtype
|
35 |
)
|
36 |
pipeline.enable_model_cpu_offload()
|
|
|
37 |
|
|
|
38 |
image = pipeline(
|
39 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k", num_inference_steps=28, guidance_scale=3.5, height=768
|
40 |
).images[0]
|
41 |
image
|
|
|
42 |
|
|
|
|
|
|
|
43 |
image = pipeline(
|
44 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k, yarn art style", num_inference_steps=28, guidance_scale=3.5, height=768
|
45 |
).images[0]
|
46 |
image
|
47 |
```
|
48 |
-
|
49 |
-

|
|
|
34 |
torch_dtype=bnb_4bit_compute_dtype
|
35 |
)
|
36 |
pipeline.enable_model_cpu_offload()
|
37 |
+
```
|
38 |
|
39 |
+
```python
|
40 |
image = pipeline(
|
41 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k", num_inference_steps=28, guidance_scale=3.5, height=768
|
42 |
).images[0]
|
43 |
image
|
44 |
+
```
|
45 |
|
46 |
+

|
47 |
+
|
48 |
+
```python
|
49 |
image = pipeline(
|
50 |
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k, yarn art style", num_inference_steps=28, guidance_scale=3.5, height=768
|
51 |
).images[0]
|
52 |
image
|
53 |
```
|
54 |
+

|
|