mirror of
https://github.com/wassname/TTS.git
synced 2026-09-09 11:16:00 +08:00
correct import statements
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import torch
|
||||
from torch import nn
|
||||
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):
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
# coding: utf-8
|
||||
import torch
|
||||
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
|
||||
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
import re
|
||||
from TTS.utils.text import cleaners
|
||||
from TTS.utils.text.symbols import symbols
|
||||
from utils.text import cleaners
|
||||
from utils.text.symbols import symbols
|
||||
|
||||
# Mappings from symbol to numeric ID and vice versa:
|
||||
_symbol_to_id = {s: i for i, s in enumerate(symbols)}
|
||||
|
||||
Reference in New Issue
Block a user