Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
VikParuchuri committed Dec 20, 2024
1 parent 4886d43 commit a5de368
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,14 @@ def pdf_document(request, config, pdf_provider, layout_model, ocr_error_model, r


@pytest.fixture(scope="function")
def pdf_converter(request, config, layout_model, texify_model, recognition_model, table_rec_model, detection_model, renderer):
def pdf_converter(request, config, layout_model, texify_model, recognition_model, table_rec_model, detection_model, ocr_error_model, renderer):
model_dict = {
"layout_model": layout_model,
"texify_model": texify_model,
"recognition_model": recognition_model,
"table_rec_model": table_rec_model,
"detection_model": detection_model
"detection_model": detection_model,
"ocr_error_model": ocr_error_model
}
yield PdfConverter(
artifact_dict=model_dict,
Expand Down

0 comments on commit a5de368

Please sign in to comment.