mskrt commited on
Commit
0fe00e0
verified
1 Parent(s): 19e6939

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -38,7 +38,7 @@ pip install diffusers accelerate transformers
38
  from PIL import Image
39
  from diffusers import DiffusionPipeline
40
 
41
- pipeline = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-xl-base-1.0", custom_pipeline="superdiff/superdiff-sdxl-v1-0")
42
  output = pipeline("a flamingo", "a candy cane", seed=1, num_inference_steps=200, batch_size=1)
43
 
44
  image = Image.fromarray(output[0])
@@ -53,7 +53,7 @@ Arguments that can be set by user in `pipeline()`:
53
  - `num_inference_steps`[optional: default=200]: number of denoising steps
54
  - `batch_size` [optional: default=1]: batch size
55
  - `guidance_scale` [optional: default=7.5]: scale for classifier-free guidance
56
- - `height`, `width` [optional: default=512]: height and width of generated images
57
 
58
 
59
  ## Citation
 
38
  from PIL import Image
39
  from diffusers import DiffusionPipeline
40
 
41
+ pipeline = DiffusionPipeline.from_pretrained("superdiff/superdiff-sdxl-v1-0", custom_pipeline='pipeline', trust_remote_code=True)
42
  output = pipeline("a flamingo", "a candy cane", seed=1, num_inference_steps=200, batch_size=1)
43
 
44
  image = Image.fromarray(output[0])
 
53
  - `num_inference_steps`[optional: default=200]: number of denoising steps
54
  - `batch_size` [optional: default=1]: batch size
55
  - `guidance_scale` [optional: default=7.5]: scale for classifier-free guidance
56
+ - `height`, `width` [optional: default=1024]: height and width of generated images (we recommend leaving it at 1024!)
57
 
58
 
59
  ## Citation