abhirooptalasila / AutoSub

A CLI script to generate subtitle files (SRT/VTT/TXT) for any video using either DeepSpeech or Coqui
MIT License
584 stars 102 forks source link

Add support for Python 3.10 #75

Closed KyleMaas closed 1 year ago

KyleMaas commented 1 year ago

Adds support for Python 3.10.

One of the major problems upgrading to Python 3.10 with this is that DeepSpeech appears to be unmaintained and no longer supports 3.10. So this also removes DeepSpeech as an engine but also updates the getmodels.sh script to easily download Coqui models.

abhirooptalasila commented 1 year ago

This looks good, but I was actually planning on shifting to OpenAI's Whisper. The performance will greatly improve and will be easier to maintain imo. Will try to do that in the next week.

KyleMaas commented 1 year ago

Will probably also have more accurate transcription, from what I've seen. Are you planning on keeping it kind of the same way, where you can choose either Coqui or Whisper for an engine?

milahu commented 1 year ago

DeepSpeech appears to be unmaintained

DeepSpeech was replaced by stt, see also https://github.com/NixOS/nixpkgs/issues/119496

DeepSpeech [...] no longer supports 3.10

request for 3.10 support in https://discourse.mozilla.org/t/cp310-binary-release/94269

milahu commented 1 year ago

what? there are at least 2 bugs here