From 844215d55b0ca1cc939bf867124a18ef0ee6c264 Mon Sep 17 00:00:00 2001 From: Edresson Casanova Date: Fri, 6 Oct 2023 16:02:00 -0300 Subject: [PATCH] Bug fix on XTTS_v1.1 inference --- TTS/utils/manage.py | 2 +- tests/zoo_tests/test_models.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TTS/utils/manage.py b/TTS/utils/manage.py index b5c698f3..eda73972 100644 --- a/TTS/utils/manage.py +++ b/TTS/utils/manage.py @@ -364,7 +364,7 @@ class ModelManager(object): output_model_path = output_path output_config_path = None if ( - model not in ["tortoise-v2", "bark", "xtts_v1"] and "fairseq" not in model_name + model not in ["tortoise-v2", "bark", "xtts_v1", "xtts_v1.1"] and "fairseq" not in model_name ): # TODO:This is stupid but don't care for now. output_model_path, output_config_path = self._find_files(output_path) # update paths in the config.json diff --git a/tests/zoo_tests/test_models.py b/tests/zoo_tests/test_models.py index dc16d793..1223106f 100644 --- a/tests/zoo_tests/test_models.py +++ b/tests/zoo_tests/test_models.py @@ -14,7 +14,7 @@ from TTS.utils.manage import ModelManager MODELS_WITH_SEP_TESTS = [ "tts_models/multilingual/multi-dataset/bark", "tts_models/en/multi-dataset/tortoise-v2", - "tts_models/multilingual/multi-dataset/xtts_v1", + "tts_models/multilingual/multi-dataset/xtts_v1" ]