forked from mrq/ai-voice-cloning
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:
parent
0f0b394445
commit
0f31c34120
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user