diff --git a/pyproject.toml b/pyproject.toml index 2a4e203..6f22b81 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -43,7 +43,8 @@ dependencies = [ "charset-normalizer", "openai", "azure-ai-documentintelligence", - "azure-identity" + "azure-identity", + "boto3>=1.36.6", ] [project.urls] diff --git a/src/markitdown/_markitdown.py b/src/markitdown/_markitdown.py index c6ab542..d130ffe 100644 --- a/src/markitdown/_markitdown.py +++ b/src/markitdown/_markitdown.py @@ -853,7 +853,9 @@ def convert(self, local_path, **kwargs) -> Union[None, DocumentConverterResult]: if not llm_description: try: - alt_text = shape._element._nvXxPr.cNvPr.attrib.get("descr", "") + alt_text = shape._element._nvXxPr.cNvPr.attrib.get( + "descr", "" + ) except Exception: # Unable to get alt text pass