Skip to content

Commit

Permalink
Emphasize error message when model files not found (CorentinJ#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
blue-fish authored Feb 18, 2021
1 parent 10ca8f7 commit 9a35b3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion utils/modelutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ def check_model_paths(encoder_path: Path, synthesizer_path: Path, vocoder_path:
return

# If none of the paths exist, remind the user to download models if needed
print("********************************************************************************")
print("Error: Model files not found. Follow these instructions to get and install the models:")
print("https://github.com/CorentinJ/Real-Time-Voice-Cloning/wiki/Pretrained-models\n")
print("https://github.com/CorentinJ/Real-Time-Voice-Cloning/wiki/Pretrained-models")
print("********************************************************************************\n")
quit(-1)

0 comments on commit 9a35b3e

Please sign in to comment.