sayakpaul HF staff commited on
Commit
210e4b9
1 Parent(s): 701876b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -33,7 +33,7 @@ from datasets import Dataset, Features
33
  from datasets import Image as ImageFeature
34
  from datasets import Value, load_dataset
35
 
36
- from diffusers import DDIMScheduler, DiffusionPipeline
37
 
38
 
39
  def main():
@@ -50,7 +50,6 @@ def main():
50
  t2i_pipe = DiffusionPipeline.from_pretrained(
51
  "kandinsky-community/kandinsky-2-2-decoder", torch_dtype=torch.float16
52
  )
53
- t2i_pipe.scheduler = DDIMScheduler.from_config(t2i_pipe.scheduler.config)
54
  t2i_pipe.to("cuda")
55
  t2i_pipe.set_progress_bar_config(disable=True)
56
 
 
33
  from datasets import Image as ImageFeature
34
  from datasets import Value, load_dataset
35
 
36
+ from diffusers import DiffusionPipeline
37
 
38
 
39
  def main():
 
50
  t2i_pipe = DiffusionPipeline.from_pretrained(
51
  "kandinsky-community/kandinsky-2-2-decoder", torch_dtype=torch.float16
52
  )
 
53
  t2i_pipe.to("cuda")
54
  t2i_pipe.set_progress_bar_config(disable=True)
55