STT/transcribe.py
Reuben Morais efdaa61e2c Revive transcribe.py
Update to use Coqpit based config handling, fix multiprocesing setup, and add CI coverage.
2021-11-19 13:57:44 +01:00

17 lines
548 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 transcribe.py script is deprecated and will be removed "
"in a future release. Instead use: python -m coqui_stt_training.transcribe"
)
try:
from coqui_stt_training import transcribe as stt_transcribe
except ImportError:
print("Training package is not installed. See training documentation.")
raise
stt_transcribe.main()