Update __init__.py

This commit is contained in:
Zengyi Qin
2024-02-19 11:08:26 -05:00
committed by GitHub
parent 957955f694
commit 5a13216925

View File

@@ -1,6 +1,6 @@
""" from https://github.com/keithito/tacotron """ """ from https://github.com/keithito/tacotron """
from text import cleaners from openvoice.text import cleaners
from text.symbols import symbols from openvoice.text.symbols import symbols
# Mappings from symbol to numeric ID and vice versa: # Mappings from symbol to numeric ID and vice versa:
@@ -43,7 +43,7 @@ def cleaned_text_to_sequence(cleaned_text, symbols):
from text.symbols import language_tone_start_map from openvoice.text.symbols import language_tone_start_map
def cleaned_text_to_sequence_vits2(cleaned_text, tones, language, symbols, languages): def cleaned_text_to_sequence_vits2(cleaned_text, tones, language, symbols, languages):
"""Converts a string of text to a sequence of IDs corresponding to the symbols in the text. """Converts a string of text to a sequence of IDs corresponding to the symbols in the text.
Args: Args: