fix(transcription): IS_AUDIO_TRANSCRIPTION_CAPABLE should be iniztialized (#194)
This commit is contained in:
@@ -33,6 +33,7 @@ from bs4 import BeautifulSoup
|
|||||||
from charset_normalizer import from_path
|
from charset_normalizer import from_path
|
||||||
|
|
||||||
# Optional Transcription support
|
# Optional Transcription support
|
||||||
|
IS_AUDIO_TRANSCRIPTION_CAPABLE = False
|
||||||
try:
|
try:
|
||||||
# Using warnings' catch_warnings to catch
|
# Using warnings' catch_warnings to catch
|
||||||
# pydub's warning of ffmpeg or avconv missing
|
# pydub's warning of ffmpeg or avconv missing
|
||||||
|
|||||||
Reference in New Issue
Block a user