Anjan9320 commited on
Commit
b7e41a0
·
verified ·
1 Parent(s): 4f28784

Update f5_tts/model/cfm.py

Browse files
Files changed (1) hide show
  1. f5_tts/model/cfm.py +1 -1
f5_tts/model/cfm.py CHANGED
@@ -161,7 +161,7 @@ class CFM(nn.Module):
161
 
162
  def fn(t, x):
163
  # at each step, conditioning is fixed
164
- step_cond = torch.where(cond_mask, cond, torch.zeros_like(cond))
165
 
166
  # predict flow
167
  pred = self.transformer(
 
161
 
162
  def fn(t, x):
163
  # at each step, conditioning is fixed
164
+ # step_cond = torch.where(cond_mask, cond, torch.zeros_like(cond))
165
 
166
  # predict flow
167
  pred = self.transformer(