mirror of https://github.com/coqui-ai/TTS.git
[minor] batch["speaker_ids"] getting set two times (#2470)
* [minor] batch["speaker_ids"] getting set two times just to make it consistent with language_ids * Update vits.py style.
This commit is contained in:
parent
c2d15cd413
commit
91cf1b2da9
|
@ -1472,7 +1472,6 @@ class Vits(BaseTTS):
|
|||
|
||||
if speaker_ids is not None:
|
||||
speaker_ids = torch.LongTensor(speaker_ids)
|
||||
batch["speaker_ids"] = speaker_ids
|
||||
|
||||
# get d_vectors from audio file names
|
||||
if self.speaker_manager is not None and self.speaker_manager.embeddings and self.args.use_d_vector_file:
|
||||
|
|
Loading…
Reference in New Issue