Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Collab notebook has old magic-pdf command #139

Closed
chrislatimer opened this issue Sep 28, 2024 · 1 comment
Closed

Collab notebook has old magic-pdf command #139

chrislatimer opened this issue Sep 28, 2024 · 1 comment

Comments

@chrislatimer
Copy link

The collab notebook example has a command that is no longer supported in magic-pdf:

!echo "{}" > ~/magic-pdf.json

!magic-pdf pdf-command --pdf "1706.03762.pdf" --model "output/1706.03762.json"

I tried to track down the equivalent command in the magic-pdf but I couldn't find it and ended up downgrading to 0.6.1 to get around the issue. The PDF location is now -p but I didn't see an equivalent for --model.

@myhloli
Copy link
Collaborator

myhloli commented Sep 29, 2024

The new version of magic-pdf only requires inputting a PDF file to complete the parsing task. Specific examples can be found at https://colab.research.google.com/gist/papayalove/b5f4913389e7ff9883c6b687de156e78/mineru_demo.ipynb.

@myhloli myhloli closed this as completed Oct 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants