not-lain commited on
Commit
37f254e
·
1 Parent(s): de6b2de
Files changed (1) hide show
  1. app.py +1 -1
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