Skip to content

Commit

Permalink
fix: Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
chloedia authored Jun 28, 2024
1 parent abda5aa commit f5c3794
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")
```

Expand All @@ -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
Expand Down

0 comments on commit f5c3794

Please sign in to comment.