alfredplpl commited on
Commit
a65db22
โ€ข
1 Parent(s): c6cef5e

Fix readme

Browse files
Files changed (3) hide show
  1. .DS_Store +0 -0
  2. README.md +3 -3
  3. eyecatch.png +0 -0
.DS_Store CHANGED
Binary files a/.DS_Store and b/.DS_Store differ
README.md CHANGED
@@ -63,13 +63,13 @@ pip install --upgrade git+https://github.com/huggingface/diffusers.git transform
63
  ๆฌกใฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใ‚’ๅฎŸ่กŒใ—ใ€็”ปๅƒใ‚’็”Ÿๆˆใ—ใฆใใ ใ•ใ„ใ€‚
64
 
65
  ```python
66
- from diffusers import StableDiffusionPipeline, EulerDiscreteScheduler
 
67
 
68
  model_id = "alfredplpl/cool-japan-diffusion-for-learning-2-0"
69
 
70
  # Use the Euler scheduler here instead
71
- scheduler = EulerDiscreteScheduler.from_pretrained(model_id, subfolder="scheduler")
72
- pipe = StableDiffusionPipeline.from_pretrained(model_id, scheduler=scheduler, revision="fp16", torch_dtype=torch.float16)
73
  pipe = pipe.to("cuda")
74
 
75
  prompt = "anime, a beautuful girl with black hair and black eyes, kimono, 4k, detailed"
63
  ๆฌกใฎใ‚นใ‚ฏใƒชใƒ—ใƒˆใ‚’ๅฎŸ่กŒใ—ใ€็”ปๅƒใ‚’็”Ÿๆˆใ—ใฆใใ ใ•ใ„ใ€‚
64
 
65
  ```python
66
+ from diffusers import StableDiffusionPipeline
67
+ import torch
68
 
69
  model_id = "alfredplpl/cool-japan-diffusion-for-learning-2-0"
70
 
71
  # Use the Euler scheduler here instead
72
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
 
73
  pipe = pipe.to("cuda")
74
 
75
  prompt = "anime, a beautuful girl with black hair and black eyes, kimono, 4k, detailed"
eyecatch.png CHANGED