Midu commited on
Commit
6a6af49
1 Parent(s): 0b98ddb

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +0 -6
README.md CHANGED
@@ -51,12 +51,6 @@ Training on 5M chinese style filtered data for 150k steps. Exponential moving av
51
  # !pip install git+https://github.com/huggingface/accelerate
52
  import torch
53
  from diffusers import StableDiffusionPipeline
54
- torch.backends.cudnn.benchmark = True
55
- pipe = StableDiffusionPipeline.from_pretrained("IDEA-CCNL/Taiyi-Stable-Diffusion-1B-Chinese-v0.1", torch_dtype=torch.float16)
56
- pipe.to('cuda')
57
 
58
- prompt = '飞流直下三千尺,油画'
59
- image = pipe(prompt, guidance_scale=7.5).images[0]
60
- image.save("飞流.png")
61
  ```
62
 
 
51
  # !pip install git+https://github.com/huggingface/accelerate
52
  import torch
53
  from diffusers import StableDiffusionPipeline
 
 
 
54
 
 
 
 
55
  ```
56