mirror of https://github.com/coqui-ai/TTS.git
correct import statements
This commit is contained in:
parent
bb04a1c6e0
commit
440f51b61d
|
@ -1,7 +1,7 @@
|
||||||
import torch
|
import torch
|
||||||
from torch import nn
|
from torch import nn
|
||||||
from torch.nn import functional as F
|
from torch.nn import functional as F
|
||||||
from TTS.utils.generic_utils import sequence_mask
|
from utils.generic_utils import sequence_mask
|
||||||
|
|
||||||
|
|
||||||
class BahdanauAttention(nn.Module):
|
class BahdanauAttention(nn.Module):
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# coding: utf-8
|
# coding: utf-8
|
||||||
import torch
|
import torch
|
||||||
from torch import nn
|
from torch import nn
|
||||||
from TTS.utils.text.symbols import symbols
|
from utils.text.symbols import symbols
|
||||||
from layers.tacotron import Prenet, Encoder, Decoder, PostCBHG
|
from layers.tacotron import Prenet, Encoder, Decoder, PostCBHG
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
import re
|
import re
|
||||||
from TTS.utils.text import cleaners
|
from utils.text import cleaners
|
||||||
from TTS.utils.text.symbols import symbols
|
from utils.text.symbols import symbols
|
||||||
|
|
||||||
# Mappings from symbol to numeric ID and vice versa:
|
# Mappings from symbol to numeric ID and vice versa:
|
||||||
_symbol_to_id = {s: i for i, s in enumerate(symbols)}
|
_symbol_to_id = {s: i for i, s in enumerate(symbols)}
|
||||||
|
|
Loading…
Reference in New Issue