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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,6 +1,6 @@
""" from https://github.com/keithito/tacotron """
from text import cleaners
from text.symbols import symbols
from openvoice.text import cleaners
from openvoice.text.symbols import symbols
# 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):
"""Converts a string of text to a sequence of IDs corresponding to the symbols in the text.
Args: