mskrt commited on
Commit
d06cb8a
verified
1 Parent(s): b4f7900

Update pipeline.py

Browse files
Files changed (1) hide show
  1. pipeline.py +5 -5
pipeline.py CHANGED
@@ -46,11 +46,11 @@ class SuperDiffPipeline(DiffusionPipeline, ConfigMixin):
46
  self.text_encoder.to(device)
47
 
48
  self.register_to_config(
49
- #model=model,
50
- #vae=vae,
51
- #tokenizer=tokenizer,
52
- #text_encoder=text_encoder,
53
- #scheduler=scheduler,
54
  device=device,
55
  batch_size=None,
56
  num_inference_steps=None,
 
46
  self.text_encoder.to(device)
47
 
48
  self.register_to_config(
49
+ vae=vae.__class__.__name__,
50
+ scheduler=scheduler.__class__.__name__,
51
+ tokenizer=tokenizer.__class__.__name__,
52
+ unet=unet.__class__.__name__,
53
+ text_encoder=text_encoder.__class__.__name__
54
  device=device,
55
  batch_size=None,
56
  num_inference_steps=None,