fix(transcription): IS_AUDIO_TRANSCRIPTION_CAPABLE should be iniztialized (#194)

This commit is contained in:
AbSadiki 2025-01-03 16:29:26 -05:00 committed by GitHub
parent 125e206047
commit 4678c8a2a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -33,6 +33,7 @@ from bs4 import BeautifulSoup
from charset_normalizer import from_path
# Optional Transcription support
IS_AUDIO_TRANSCRIPTION_CAPABLE = False
try:
# Using warnings' catch_warnings to catch
# pydub's warning of ffmpeg or avconv missing