Skip to content

Commit

Permalink
require pytesseract when loading processor tester mixin
Browse files Browse the repository at this point in the history
  • Loading branch information
leloykun committed Aug 15, 2024
1 parent 57ed818 commit 1fafbe9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_processing_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
from transformers.models.auto.processing_auto import processor_class_from_name
from transformers.testing_utils import (
check_json_file_has_correct_format,
require_pytesseract,
require_tokenizers,
require_torch,
require_vision,
Expand All @@ -46,7 +47,7 @@

@require_torch
@require_vision
@require_torch
@require_pytesseract
class ProcessorTesterMixin:
processor_class = None

Expand Down

0 comments on commit 1fafbe9

Please sign in to comment.