markod0925 commited on
Commit
8e25a30
·
verified ·
1 Parent(s): 2e2f893

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +20 -3
README.md CHANGED
@@ -8,12 +8,29 @@ base_model:
8
 
9
  # Model Card for Model ID
10
 
11
- <!-- Provide a quick summary of what the model is/does. -->
12
-
13
 
14
  ## Uses
15
 
16
- <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
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
+ ```