mirror of
https://github.com/coqui-ai/TTS.git
synced 2026-07-12 13:31:01 +02:00
Fix base_tacotron aux_input handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user