3 Commits

Author SHA1 Message Date
Adam Fourney
a62d8edb13 Small fixes for autogen integration. 2025-03-12 19:14:35 -07:00
Adam Fourney
6a9f09b153 Updated Magika dependency. 2025-03-12 16:15:33 -07:00
afourney
0b815fb916 Bumping version to 0.1.0a2 (#1123) 2025-03-12 11:44:19 -07:00
3 changed files with 9 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ dependencies = [
"beautifulsoup4",
"requests",
"markdownify",
"magika>=0.6.0rc1",
"magika>=0.6.1rc2",
"charset-normalizer",
]

View File

@@ -1,4 +1,4 @@
# SPDX-FileCopyrightText: 2024-present Adam Fourney <adamfo@microsoft.com>
#
# SPDX-License-Identifier: MIT
__version__ = "0.1.0a2"
__version__ = "0.1.0a3"

View File

@@ -7,7 +7,14 @@ from .._exceptions import MissingDependencyException
# Save reporting of any exceptions for later
_dependency_exc_info = None
try:
# Suppress some deprecation warnings from the speech_recognition library
import warnings
warnings.filterwarnings(
"ignore", category=DeprecationWarning, module="speech_recognition"
)
import speech_recognition as sr
import pydub
except ImportError:
# Preserve the error and stack trace for later