Fix: import error
pyopenjtalk_worker.initialize() has the side effect of starting another process and should not be executed automatically on import.
This commit is contained in:
@@ -10,11 +10,8 @@ from config import config
|
||||
from style_bert_vits2.logging import logger
|
||||
from style_bert_vits2.models import commons
|
||||
from style_bert_vits2.nlp import cleaned_text_to_sequence, extract_bert_feature
|
||||
from style_bert_vits2.nlp.japanese import pyopenjtalk_worker as pyopenjtalk
|
||||
from style_bert_vits2.utils.stdout_wrapper import SAFE_STDOUT
|
||||
|
||||
pyopenjtalk.initialize()
|
||||
|
||||
|
||||
def process_line(x):
|
||||
line, add_blank = x
|
||||
|
||||
Reference in New Issue
Block a user