Merge branch 'main' into main
This commit is contained in:
commit
4c17039a1c
3 changed files with 4 additions and 1 deletions
|
|
@ -27,7 +27,7 @@ dependencies = [
|
|||
"beautifulsoup4",
|
||||
"requests",
|
||||
"mammoth",
|
||||
"markdownify",
|
||||
"markdownify~=0.14.1",
|
||||
"numpy",
|
||||
"python-pptx",
|
||||
"pandas",
|
||||
|
|
|
|||
|
|
@ -312,6 +312,7 @@ class MarkItDown:
|
|||
def _convert(
|
||||
self, local_path: str, extensions: List[Union[str, None]], **kwargs
|
||||
) -> DocumentConverterResult:
|
||||
res: Union[None, DocumentConverterResult] = None
|
||||
error_trace = ""
|
||||
|
||||
# Create a copy of the page_converters list, sorted by priority.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
from typing import Union
|
||||
from ._base import DocumentConverter, DocumentConverterResult
|
||||
from ._media_converter import MediaConverter
|
||||
import base64
|
||||
import mimetypes
|
||||
|
||||
|
||||
class ImageConverter(MediaConverter):
|
||||
|
|
|
|||
Loading…
Reference in a new issue