Skip to content

Commit

Permalink
Update dit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JinZr authored Jan 27, 2025
1 parent 525caf6 commit 0f75112
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions egs/wenetspeech4tts/TTS/f5-tts/model/dit.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ def __init__(self, mel_dim, text_dim, out_dim):

def forward(
self,
x: float["b n d"], # noqa: F722
cond: float["b n d"], # noqa: F722
text_embed: float["b n d"], # noqa: F722
x: float["b n d"], # noqa: F722
cond: float["b n d"], # noqa: F722
text_embed: float["b n d"], # noqa: F722
drop_audio_cond=False,
):
if drop_audio_cond: # cfg for cond audio
Expand Down

0 comments on commit 0f75112

Please sign in to comment.