fix md
Browse files
app.py
CHANGED
|
@@ -61,7 +61,7 @@ def convert_file_to_markdown(filename:str) -> str:
|
|
| 61 |
Returns:
|
| 62 |
str: The markdown representation of the file.
|
| 63 |
"""
|
| 64 |
-
result =
|
| 65 |
return result.document.export_to_markdown()
|
| 66 |
|
| 67 |
|
|
|
|
| 61 |
Returns:
|
| 62 |
str: The markdown representation of the file.
|
| 63 |
"""
|
| 64 |
+
result = docling_converter.convert(filename)
|
| 65 |
return result.document.export_to_markdown()
|
| 66 |
|
| 67 |
|