Skip to content

Commit

Permalink
fix(xtts): voice_dir should remain None if not specified (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
eginhard authored Dec 19, 2024
1 parent 370fb1d commit f89ce41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TTS/utils/synthesizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def __init__(
self.d_vector_dim = 0
self.seg = self._get_segmenter("en")
self.use_cuda = use_cuda
self.voice_dir = optional_to_str(voice_dir)
self.voice_dir = voice_dir
if self.use_cuda:
assert torch.cuda.is_available(), "CUDA is not availabe on this machine."

Expand Down

0 comments on commit f89ce41

Please sign in to comment.