BingLingGroup / autosub

Command-line utility to transcribe/translate from video/audio/subtitles to subtitles
GNU General Public License v2.0
1.98k stars 244 forks source link

Add python API #135

Open hawkash opened 4 years ago

hawkash commented 4 years ago

if possible extract a Python API layer between the CLI and core code so users can choose between using either CLI or Python API. thank you

jonata commented 4 years ago

I think you can use autosub.generate_subtitles. It would be good to document that somewhere.