mirror of https://github.com/coqui-ai/TTS.git
Update unit tests and recipes
This commit is contained in:
parent
72b2bac0f8
commit
1b6f8d0e46
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue