Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/om1_speech/riva/tts_processor.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ def generate_tts(self, text: str):

Notes
-----
The synthesis is performed with the configured voice, language,
sample rate, and quality settings specified in model_args.
The synthesis is performed with the configured voice, language
and sample rate specified in model_args.
"""
if self.model is None:
raise RuntimeError("TTS model is not initialized.")
Expand All @@ -98,9 +98,6 @@ def generate_tts(self, text: str):
self.args.voice,
self.args.language_code,
sample_rate_hz=self.args.tts_sample_rate_hz,
audio_prompt_file=self.args.audio_prompt_file,
quality=20 if self.args.quality is None else self.args.quality,
custom_dictionary={},
)

def process_tts(self, tts_input: Dict[Any, Any], *args, **kwargs):
Expand Down
Loading