mirror of https://github.com/coqui-ai/TTS.git
Style fix
This commit is contained in:
parent
17b6486ef1
commit
9252b3c5bd
|
@ -111,7 +111,9 @@ synthesizer = Synthesizer(
|
|||
use_cuda=args.use_cuda,
|
||||
)
|
||||
|
||||
use_multi_speaker = hasattr(synthesizer.tts_model, "num_speakers") and (synthesizer.tts_model.num_speakers > 1 or synthesizer.tts_speakers_file is not None)
|
||||
use_multi_speaker = hasattr(synthesizer.tts_model, "num_speakers") and (
|
||||
synthesizer.tts_model.num_speakers > 1 or synthesizer.tts_speakers_file is not None
|
||||
)
|
||||
print("Multispeaker?", use_multi_speaker, synthesizer.tts_model.num_speakers)
|
||||
speaker_manager = getattr(synthesizer.tts_model, "speaker_manager", None)
|
||||
# TODO: set this from SpeakerManager
|
||||
|
|
Loading…
Reference in New Issue