mirror of
https://github.com/wassname/TTS.git
synced 2026-10-25 12:10:21 +08:00
bug fix for server testing
This commit is contained in:
1 parent
4d3bc18ba6
commit
19f9cfd385
1 file changed
+1
-1
@@ -11,7 +11,7 @@ from utils.generic_utils import load_config, save_checkpoint, setup_model
|
||||
|
||||
class DemoServerTest(unittest.TestCase):
|
||||
def _create_random_model(self):
|
||||
config = load_config('config.json')
|
||||
config = load_config(os.path.join(get_tests_output_path(), 'dummy_model_config.json'))
|
||||
num_chars = len(phonemes) if config.use_phonemes else len(symbols)
|
||||
model = setup_model(num_chars, 0, config)
|
||||
output_path = os.path.join(get_tests_output_path())
|
||||
|
||||
Reference in new issue
Block a user