STT/train.py
2021-08-27 14:24:23 +02:00

17 lines
523 B
Python
Executable File

#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
if __name__ == "__main__":
print(
"Using the top level train.py script is deprecated and will be removed "
"in a future release. Instead use: python -m coqui_stt_training.train"
)
try:
from coqui_stt_training import train as stt_train
except ImportError:
print("Training package is not installed. See training documentation.")
raise
stt_train.main()