From ed203a9fcaaf9be6bdd1170d5b787b306c1a03fb Mon Sep 17 00:00:00 2001 From: itqop Date: Mon, 3 Mar 2025 04:59:00 +0300 Subject: [PATCH] fix typo --- summarize_service/app/inference_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/summarize_service/app/inference_service.py b/summarize_service/app/inference_service.py index 559cc10..3518bac 100644 --- a/summarize_service/app/inference_service.py +++ b/summarize_service/app/inference_service.py @@ -46,5 +46,5 @@ class InferenceService: early_stopping=True, no_repeat_ngram_size=2 ) - responses = [self.tokenizer.decode(out, skip_special_tokens=True).replace("Ожидаемый ответ:", "").replace("Запрос:", "Исхоный текст:").strip() for out in outputs] + responses = [self.tokenizer.decode(out, skip_special_tokens=True).replace("Ожидаемый ответ:", "").replace("Запрос:", "Исходный текст:").strip() for out in outputs] return responses