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

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