Unverified Commit c1fe1259 authored by Pablo Montalvo's avatar Pablo Montalvo Committed by GitHub
Browse files

handle (processor_class, None) returned by ModelPatterns (#31753)

parent 0fd885b9
......@@ -1628,7 +1628,7 @@ def get_user_input():
)
old_processing_classes = [
c
c if not isinstance(c, tuple) else c[0]
for c in [old_image_processor_class, old_feature_extractor_class, old_tokenizer_class, old_processor_class]
if c is not None
]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment