From aba0b685406e08349fa70e18584fe550dc23ba82 Mon Sep 17 00:00:00 2001 From: tsukumi Date: Sun, 11 Aug 2024 06:39:10 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20pyopenjtalk[marine]=20=E3=82=92=20pyopen?= =?UTF-8?q?jtalk-plus[marine]=20=E3=81=AB=E7=BD=AE=E6=8F=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pyopenjtalk/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyopenjtalk/__init__.py b/pyopenjtalk/__init__.py index d6f63b3..6a31d10 100644 --- a/pyopenjtalk/__init__.py +++ b/pyopenjtalk/__init__.py @@ -97,7 +97,7 @@ def load_marine_model(model_dir: Union[str, None] = None, dict_dir: Union[str, N try: from marine.predict import Predictor except ImportError: - raise ImportError("Please install marine by `pip install pyopenjtalk[marine]`") + raise ImportError("Please install marine by `pip install pyopenjtalk-plus[marine]`") _global_marine = Predictor(model_dir=model_dir, postprocess_vocab_dir=dict_dir) @@ -163,7 +163,7 @@ def extract_fullcontext( text (str): Input text run_marine (bool): Whether to estimate accent using marine. Default is False. If you want to activate this option, you need to install marine - by `pip install pyopenjtalk[marine]` + by `pip install pyopenjtalk-plus[marine]` use_vanilla (bool): If True, returns the vanilla NJDFeature list. Default is False. @@ -217,7 +217,7 @@ def tts( half_tone (float): additional half-tone. Default is 0. run_marine (bool): Whether to estimate accent using marine. Default is False. If you want activate this option, you need to install marine - by `pip install pyopenjtalk[marine]` + by `pip install pyopenjtalk-plus[marine]` Returns: np.ndarray: speech waveform (dtype: np.float64) @@ -235,7 +235,7 @@ def run_frontend( text (str): Unicode Japanese text. run_marine (bool): Whether to estimate accent using marine. Default is False. If you want to activate this option, you need to install marine - by `pip install pyopenjtalk[marine]` + by `pip install pyopenjtalk-plus[marine]` use_vanilla (bool): If True, returns the vanilla NJDFeature list. Default is False.