1 Commits

Author SHA1 Message Date
Adam Fourney
a62d8edb13 Small fixes for autogen integration. 2025-03-12 19:14:35 -07:00
2 changed files with 8 additions and 1 deletions

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