Update README.md
Browse files
README.md
CHANGED
|
@@ -8,12 +8,29 @@ base_model:
|
|
| 8 |
|
| 9 |
# Model Card for Model ID
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
|
| 14 |
## Uses
|
| 15 |
|
| 16 |
-
|
| 17 |
|
| 18 |
## How to Get Started with the Model
|
| 19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
# Model Card for Model ID
|
| 10 |
|
| 11 |
+
Make everything as Yarn Art Syle.
|
|
|
|
| 12 |
|
| 13 |
## Uses
|
| 14 |
|
| 15 |
+
Make everything as Yarn Art Syle.
|
| 16 |
|
| 17 |
## How to Get Started with the Model
|
| 18 |
|
| 19 |
+
```python
|
| 20 |
+
!pip install -U diffusers bitsandbytes
|
| 21 |
+
from diffusers import AutoPipelineForText2Image
|
| 22 |
+
repo_id = "markod0925/yarn_flux"
|
| 23 |
+
|
| 24 |
+
pipeline = AutoPipelineForText2Image.from_pretrained(repo_id)
|
| 25 |
+
pipeline.enable_model_cpu_offload()
|
| 26 |
+
|
| 27 |
+
image = pipeline(
|
| 28 |
+
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k", num_inference_steps=28, guidance_scale=3.5, height=768
|
| 29 |
+
).images[0]
|
| 30 |
+
image
|
| 31 |
+
|
| 32 |
+
image = pipeline(
|
| 33 |
+
"Astronaut in a jungle, cold color palette, muted colors, detailed, 8k, yarn art style", num_inference_steps=28, guidance_scale=3.5, height=768
|
| 34 |
+
).images[0]
|
| 35 |
+
image
|
| 36 |
+
```
|