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

This commit is contained in:
mrq 2023-03-07 02:47:10 +00:00
parent 0f0b394445
commit 0f31c34120

View File

@ -986,6 +986,9 @@ def run_training(config_path, verbose=False, gpus=1, keep_x_past_datasets=0, pro
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()