From f5c37946cb0bce395477735c5a98211235c10bba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Daems?= <73901882+chloedia@users.noreply.github.com> Date: Fri, 28 Jun 2024 10:24:37 +0200 Subject: [PATCH] fix: Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f9ee3f7..452bf89 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,8 @@ pip install megaparse from megaparse.Converter import MegaParse megaparse = MegaParse(file_path="./test.pdf") -content = megaparse.convert() -print(content) +document = megaparse.load() +print(document.content) megaparse.save_md(content, "./test.md") ``` @@ -53,8 +53,8 @@ megaparse.save_md(content, "./test.md") from megaparse.Converter import MegaParse megaparse = MegaParse(file_path="./test.pdf", llama_parse_api_key="llx-your_api_key") -content = megaparse.convert() -print(content) +document = megaparse.load() +print(document.content) ``` ## BenchMark