mirror of
https://github.com/myshell-ai/OpenVoice
synced 2024-11-21 22:48:25 +00:00
Update __init__.py
This commit is contained in:
parent
957955f694
commit
5a13216925
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user