Skip to content

Commit

Permalink
Fix get_conditioning_latents when using only ne
Browse files Browse the repository at this point in the history
  • Loading branch information
WeberJulian committed Oct 26, 2023
1 parent edd3a28 commit 6fa46d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TTS/tts/models/xtts.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ def get_conditioning_latents(
):
speaker_embedding = None
diffusion_cond_latents = None
if self.args.use_hifigan:
if self.args.use_hifigan or self.args.use_ne_hifigan:
speaker_embedding = self.get_speaker_embedding(audio_path)
else:
diffusion_cond_latents = self.get_diffusion_cond_latents(audio_path)
Expand Down

0 comments on commit 6fa46d1

Please sign in to comment.