From e1f3ffa08ccb20fa346925a5fca2ef240e8d7aff Mon Sep 17 00:00:00 2001 From: mrq Date: Fri, 3 Mar 2023 18:51:33 +0000 Subject: [PATCH] oops --- src/utils.py | 6 ++++-- tortoise-tts | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/utils.py b/src/utils.py index 8f8f6bb..3ad4eb1 100755 --- a/src/utils.py +++ b/src/utils.py @@ -1316,6 +1316,8 @@ def setup_args(): if args.listen_port is not None: args.listen_port = int(args.listen_port) + if args.listen_port == 0: + args.listen_port = None return args @@ -1476,10 +1478,10 @@ def load_tts( restart=False, model=None ): tts_loading = True try: - tts = TextToSpeech(minor_optimizations=not args.low_vram, autoregressive_model_path=args.autoregressive_model, use_bigvgan=args.use_bigvgan_vocoder) + tts = TextToSpeech(minor_optimizations=not args.low_vram, autoregressive_model_path=args.autoregressive_model) except Exception as e: tts = TextToSpeech(minor_optimizations=not args.low_vram) - load_autoregressive_model(args.autoregressive_model) + update_autoregressive_model(args.autoregressive_model) if not hasattr(tts, 'autoregressive_model_hash'): tts.autoregressive_model_hash = hash_file(tts.autoregressive_model_path) diff --git a/tortoise-tts b/tortoise-tts index aca32a7..06bdf72 160000 --- a/tortoise-tts +++ b/tortoise-tts @@ -1 +1 @@ -Subproject commit aca32a71f798ebd8487c113d41d1b4e9ee15c315 +Subproject commit 06bdf72b89af78609059a9e0bc87a1ac88bb1c44