Fix deprecation warning (issue #376)

This commit is contained in:
allegroai 2021-08-12 13:22:41 +03:00
parent 14538053c8
commit 99e6598e70

View File

@ -35,7 +35,7 @@ class ModelsList(UserList):
class TaskModels(UserDict):
_input_models_re = re.compile(r"((?i)(Using model id: )(\w+)?)")
_input_models_re = re.compile(pattern=r"((?i)(Using model id: )(\w+)?)", flags=0)
@property
def input(self):