update docstring

This commit is contained in:
Eren Gölge 2021-04-06 11:22:25 +02:00
parent 2048095e9a
commit ec94ff3691
1 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,9 @@ from TTS.tts.utils.text import make_symbols, phonemes, symbols
class Synthesizer(object):
def __init__(self, tts_checkpoint, tts_config, vocoder_checkpoint=None, vocoder_config=None, use_cuda=False):
"""Encapsulation of tts and vocoder models for inference.
"""General TTS interface for inference. It takes a tts and a vocoder
model and synthesize speech from the provided text with a basic text
formatting.
TODO: handle multi-speaker and GST inference.