Skip to content

Commit

Permalink
Update megaparse import in README.md and __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
StanGirard committed Jun 4, 2024
1 parent 7001b5e commit ffcaeac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ pip install megaparse
3. Install tesseract on your computer (images and PDFs)

```python
from megaparse import MegaParse
from megaparse.Converter import MegaParse

megaparse = MegaParse(file_path="./test.pdf")
content = megaparse.convert()
Expand All @@ -52,7 +52,7 @@ megaparse.save_md(content, "./test.md")
2. Call Megaparse with the `llama_parse_api_key` parameter

```python
from megaparse import MegaParse
from megaparse.Converter import MegaParse

megaparse = MegaParse(file_path="./test.pdf", llama_parse_api_key="llx-your_api_key")
content = megaparse.convert()
Expand Down
1 change: 0 additions & 1 deletion megaparse/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from megaparse.Converter import MegaParse

0 comments on commit ffcaeac

Please sign in to comment.