From de7b760048e02e872642951860ea3fb5631c8b78 Mon Sep 17 00:00:00 2001 From: Henk Date: Wed, 3 May 2023 01:02:50 +0200 Subject: [PATCH] Typo Fix --- modeling/inference_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modeling/inference_model.py b/modeling/inference_model.py index 8d0c5294..0be06d17 100644 --- a/modeling/inference_model.py +++ b/modeling/inference_model.py @@ -224,7 +224,7 @@ class InferenceModel: try: return GenericTokenizer(try_get_tokenizer()) except Exception as e: - logger.warn(f"Tokenizer falling back due to {e}") + logger.warning(f"Tokenizer falling back due to {e}") # If we error on each attempt, raise the last one if i == len(suppliers) - 1: raise