From 0f31c341206ad2119ef6f10abb22807e7d725ac0 Mon Sep 17 00:00:00 2001 From: mrq Date: Tue, 7 Mar 2023 02:47:10 +0000 Subject: [PATCH] download dvae.pth for the people who managed to somehow put the web UI into a state where it never initializes TTS at all somehow --- src/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/utils.py b/src/utils.py index efa71ed..51d83dd 100755 --- a/src/utils.py +++ b/src/utils.py @@ -985,6 +985,9 @@ def run_training(config_path, verbose=False, gpus=1, keep_x_past_datasets=0, pro global training_state if training_state and training_state.process: return "Training already in progress" + + # ensure we have the dvae.pth + get_model_path('dvae.pth') # I don't know if this is still necessary, as it was bitching at me for not doing this, despite it being in a separate process torch.multiprocessing.freeze_support()