mirror of https://github.com/coqui-ai/TTS.git
Fix `base_tacotron` `aux_input` handling
parent
db32162eae
commit
7590c7db7a
|
@ -78,7 +78,9 @@ class BaseTacotron(BaseTTS):
|
|||
|
||||
@staticmethod
|
||||
def _format_aux_input(aux_input: Dict) -> Dict:
|
||||
return format_aux_input({"d_vectors": None, "speaker_ids": None}, aux_input)
|
||||
if aux_input:
|
||||
return format_aux_input({"d_vectors": None, "speaker_ids": None}, aux_input)
|
||||
return None
|
||||
|
||||
#############################
|
||||
# INIT FUNCTIONS
|
||||
|
|
Loading…
Reference in New Issue