ironjr commited on
Commit
ab9324d
1 Parent(s): f537792

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -0
model.py CHANGED
@@ -756,6 +756,7 @@ class StreamMultiDiffusion(nn.Module):
756
 
757
  if isinstance(masks, Image.Image):
758
  masks = [masks]
 
759
  n = len(masks) if masks is not None else 0
760
 
761
  # Modificiation.
 
756
 
757
  if isinstance(masks, Image.Image):
758
  masks = [masks]
759
+ p = self.num_layers
760
  n = len(masks) if masks is not None else 0
761
 
762
  # Modificiation.