diff --git a/mimic3_http/app.py b/mimic3_http/app.py index 0f82bdc..006a21d 100644 --- a/mimic3_http/app.py +++ b/mimic3_http/app.py @@ -317,6 +317,9 @@ def get_app(args: argparse.Namespace, request_queue: Queue, temp_dir: str): tech = "vits" for voice in sorted_voices: + if not voice.location or voice.location.startswith("https://"): + # Skip voices that are not yet installed + continue if voice.is_multispeaker: # List each speaker separately for speaker in voice.speakers: