make style (#11442)
This commit is contained in:
committed by
GitHub
parent
04ab2ca639
commit
32dbb2d954
@@ -58,7 +58,7 @@ NON_ENGLISH_TAGS = ["chinese", "dutch", "french", "finnish", "german", "multilin
|
||||
|
||||
|
||||
def filter_non_english(_, pretrained_name: str):
|
||||
""" Filter all the model for non-english language """
|
||||
"""Filter all the model for non-english language"""
|
||||
return not any([lang in pretrained_name for lang in NON_ENGLISH_TAGS])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user