mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-14 12:32:20 +00:00
Update matcha_tts.py
This commit is contained in:
parent
729e86edb9
commit
9c2a18493a
@ -2,17 +2,17 @@ import datetime as dt
|
||||
import math
|
||||
import random
|
||||
|
||||
import matcha.monotonic_align as monotonic_align
|
||||
import monotonic_align as monotonic_align
|
||||
import torch
|
||||
from matcha.model import (
|
||||
from model import (
|
||||
denormalize,
|
||||
duration_loss,
|
||||
fix_len_compatibility,
|
||||
generate_path,
|
||||
sequence_mask,
|
||||
)
|
||||
from matcha.models.components.flow_matching import CFM
|
||||
from matcha.models.components.text_encoder import TextEncoder
|
||||
from models.components.flow_matching import CFM
|
||||
from models.components.text_encoder import TextEncoder
|
||||
|
||||
|
||||
class MatchaTTS(torch.nn.Module): # 🍵
|
||||
|
Loading…
x
Reference in New Issue
Block a user