diff --git a/packages/markitdown/src/markitdown/__about__.py b/packages/markitdown/src/markitdown/__about__.py index 5e345b6..463e0c7 100644 --- a/packages/markitdown/src/markitdown/__about__.py +++ b/packages/markitdown/src/markitdown/__about__.py @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2024-present Adam Fourney # # SPDX-License-Identifier: MIT -__version__ = "0.1.0a2" +__version__ = "0.1.0a3" diff --git a/packages/markitdown/src/markitdown/converters/_transcribe_audio.py b/packages/markitdown/src/markitdown/converters/_transcribe_audio.py index 3d02173..71c432b 100644 --- a/packages/markitdown/src/markitdown/converters/_transcribe_audio.py +++ b/packages/markitdown/src/markitdown/converters/_transcribe_audio.py @@ -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