Spaces:
Runtime error
Runtime error
Minor UI edit
Browse files
src/parsers/markitdown_parser.py
CHANGED
|
@@ -86,7 +86,7 @@ class MarkItDownParser(DocumentParser):
|
|
| 86 |
|
| 87 |
@classmethod
|
| 88 |
def get_name(cls) -> str:
|
| 89 |
-
return "MarkItDown"
|
| 90 |
|
| 91 |
@classmethod
|
| 92 |
def get_supported_ocr_methods(cls) -> List[Dict[str, Any]]:
|
|
|
|
| 86 |
|
| 87 |
@classmethod
|
| 88 |
def get_name(cls) -> str:
|
| 89 |
+
return "MarkItDown (pdf, jpg, png, xlsx --best for xlsx)"
|
| 90 |
|
| 91 |
@classmethod
|
| 92 |
def get_supported_ocr_methods(cls) -> List[Dict[str, Any]]:
|
src/parsers/mistral_ocr_parser.py
CHANGED
|
@@ -29,7 +29,7 @@ class MistralOcrParser(DocumentParser):
|
|
| 29 |
|
| 30 |
@classmethod
|
| 31 |
def get_name(cls) -> str:
|
| 32 |
-
return "Mistral OCR"
|
| 33 |
|
| 34 |
@classmethod
|
| 35 |
def get_supported_ocr_methods(cls) -> List[Dict[str, Any]]:
|
|
|
|
| 29 |
|
| 30 |
@classmethod
|
| 31 |
def get_name(cls) -> str:
|
| 32 |
+
return "Mistral OCR (pdf, jpg, png)"
|
| 33 |
|
| 34 |
@classmethod
|
| 35 |
def get_supported_ocr_methods(cls) -> List[Dict[str, Any]]:
|