bazarr/custom_libs
JayZed 5749971d67
Improved whisper provider to not throttle when unsupported audio language is encountered. #2474
As we have noted before, bad input data should be no reason to throttle a provider.
In this case, if the input language was not supported by whisper, we were raising a ValueError that was never caught and causing an error in the whisper provider for which it was throttled.
Instead, we are now detecting this case and logging an error message.
However, given that the input language was not one of the 99 currently known to whisper, it's probably a mislabeled audio track. If the user desired output language is English, then we will tell whisper that the input audio is also English and ask it to transcribe it. Whisper does a very good job of transcribing almost anything to English, so it's worth a try.
This should address the throttling in issue #2474.
2024-04-29 22:11:47 -04:00
..
flask_compress Updated multiple Python modules (now in libs and custom_libs directories) and React libraries 2024-03-03 12:15:23 -05:00
libfilebot Fixed SyntaxWarning with Python 3.12. #2462 2024-04-24 06:49:38 -04:00
pretty Updated multiple Python modules (now in libs and custom_libs directories) and React libraries 2024-03-03 12:15:23 -05:00
py7zr Updated multiple Python modules (now in libs and custom_libs directories) and React libraries 2024-03-03 12:15:23 -05:00
signalr Updated multiple Python modules (now in libs and custom_libs directories) and React libraries 2024-03-03 12:15:23 -05:00
subliminal Fixed SyntaxWarning with Python 3.12. #2462 2024-04-24 06:49:38 -04:00
subliminal_patch Improved whisper provider to not throttle when unsupported audio language is encountered. #2474 2024-04-29 22:11:47 -04:00
subscene_api Added minimal Python 3.12 compatibility. Not yet official support. 2024-04-21 21:31:16 -04:00
subzero Updated multiple Python modules (now in libs and custom_libs directories) and React libraries 2024-03-03 12:15:23 -05:00
custom_version.txt Updated multiple Python modules (now in libs and custom_libs directories) and React libraries 2024-03-03 12:15:23 -05:00
deathbycaptcha.py Updated multiple Python modules (now in libs and custom_libs directories) and React libraries 2024-03-03 12:15:23 -05:00
pyads.py Updated multiple Python modules (now in libs and custom_libs directories) and React libraries 2024-03-03 12:15:23 -05:00
sseclient.py Updated multiple Python modules (now in libs and custom_libs directories) and React libraries 2024-03-03 12:15:23 -05:00