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

Cant make work your code #462

Closed
JeandeBalzac opened this issue Jan 5, 2025 · 1 comment
Closed

Cant make work your code #462

JeandeBalzac opened this issue Jan 5, 2025 · 1 comment

Comments

@JeandeBalzac
Copy link

Hi
from marker.converters.pdf import PdfConverter
from marker.models import create_model_dict
from marker.schema import BlockTypes

converter = PdfConverter(
artifact_dict=create_model_dict(),
)
document = converter.build_document("FILEPATH")
forms = document.contained_blocks((BlockTypes.Form,))

is not working.
Get error: AttributeError: 'PdfConverter' object has no attribute 'build_document'

@VikParuchuri
Copy link
Owner

You need the latest marker-pdf - 1.2.3

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