Files
voice_bridge/venv/bin/ct2-opennmt-py-converter
2026-01-09 10:28:44 +11:00

9 lines
255 B
Python
Executable File

#!/home/sam/voice_bridge/venv/bin/python3
# -*- coding: utf-8 -*-
import re
import sys
from ctranslate2.converters.opennmt_py import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0])
sys.exit(main())