Update unit tests and recipes

This commit is contained in:
Edresson Casanova 2023-11-06 14:52:09 -03:00 committed by Eren G??lge
parent 72b2bac0f8
commit 1b6f8d0e46
5 changed files with 7 additions and 7 deletions

View File

@ -433,7 +433,7 @@ class Xtts(BaseTTS):
): ):
# deal with multiples references # deal with multiples references
if not isinstance(audio_path, list): if not isinstance(audio_path, list):
audio_paths = list(audio_path) audio_paths = [audio_path]
else: else:
audio_paths = audio_path audio_paths = audio_path

View File

@ -71,9 +71,9 @@ if not os.path.isfile(TOKENIZER_FILE) or not os.path.isfile(XTTS_CHECKPOINT):
# Training sentences generations # Training sentences generations
SPEAKER_REFERENCE = ( SPEAKER_REFERENCE = [
"./tests/data/ljspeech/wavs/LJ001-0002.wav" # speaker reference to be used in training test sentences "./tests/data/ljspeech/wavs/LJ001-0002.wav" # speaker reference to be used in training test sentences
) ]
LANGUAGE = config_dataset.language LANGUAGE = config_dataset.language

View File

@ -71,9 +71,9 @@ if not os.path.isfile(TOKENIZER_FILE) or not os.path.isfile(XTTS_CHECKPOINT):
# Training sentences generations # Training sentences generations
SPEAKER_REFERENCE = ( SPEAKER_REFERENCE = [
"./tests/data/ljspeech/wavs/LJ001-0002.wav" # speaker reference to be used in training test sentences "./tests/data/ljspeech/wavs/LJ001-0002.wav" # speaker reference to be used in training test sentences
) ]
LANGUAGE = config_dataset.language LANGUAGE = config_dataset.language

View File

@ -60,7 +60,7 @@ XTTS_CHECKPOINT = None # "/raid/edresson/dev/Checkpoints/XTTS_evaluation/xtts_s
# Training sentences generations # Training sentences generations
SPEAKER_REFERENCE = "tests/data/ljspeech/wavs/LJ001-0002.wav" # speaker reference to be used in training test sentences SPEAKER_REFERENCE = ["tests/data/ljspeech/wavs/LJ001-0002.wav"] # speaker reference to be used in training test sentences
LANGUAGE = config_dataset.language LANGUAGE = config_dataset.language

View File

@ -58,7 +58,7 @@ XTTS_CHECKPOINT = None # "/raid/edresson/dev/Checkpoints/XTTS_evaluation/xtts_s
# Training sentences generations # Training sentences generations
SPEAKER_REFERENCE = "tests/data/ljspeech/wavs/LJ001-0002.wav" # speaker reference to be used in training test sentences SPEAKER_REFERENCE = ["tests/data/ljspeech/wavs/LJ001-0002.wav"] # speaker reference to be used in training test sentences
LANGUAGE = config_dataset.language LANGUAGE = config_dataset.language