minor fix
Browse files
app.py
CHANGED
|
@@ -62,7 +62,7 @@ def convert_file_to_markdown(filename: str) -> str:
|
|
| 62 |
Returns:
|
| 63 |
str: The markdown representation of the file.
|
| 64 |
"""
|
| 65 |
-
return markitdown.convert(filename.name)
|
| 66 |
|
| 67 |
|
| 68 |
# Create individual interfaces
|
|
|
|
| 62 |
Returns:
|
| 63 |
str: The markdown representation of the file.
|
| 64 |
"""
|
| 65 |
+
return markitdown.convert(filename.name).text_content
|
| 66 |
|
| 67 |
|
| 68 |
# Create individual interfaces
|