ironjr commited on
Commit
d6edb17
·
verified ·
1 Parent(s): 64f9101

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -1128,7 +1128,7 @@ class StreamMultiDiffusion(nn.Module):
1128
  encoder_hidden_states=self.prompt_embeds, # (B, 77, 768)
1129
  return_dict=False,
1130
  )[0] # (B, 4, h, w)
1131
- except e:
1132
  print(e)
1133
  print('222222222222222', model_pred.dtype)
1134
 
 
1128
  encoder_hidden_states=self.prompt_embeds, # (B, 77, 768)
1129
  return_dict=False,
1130
  )[0] # (B, 4, h, w)
1131
+ except Exception as e:
1132
  print(e)
1133
  print('222222222222222', model_pred.dtype)
1134