ThioJoe / Auto-Synced-Translated-Dubs

Automatically translates the text of a video based on a subtitle file, and also uses AI voice to dub the video, and synced using the subtitle's timings
GNU General Public License v3.0
1.55k stars 152 forks source link

Azure second pass fails because of undeclared variable #16

Closed sofiadparamo closed 1 year ago

sofiadparamo commented 1 year ago

keyIndex is not being fetched when secondPass is True in TTS.py. This causes a crash if second pass is enabled and using Azure.

sofiadparamo commented 1 year ago

Also preparing a PR for this