From aed93ff62039b36110c94674ab72405fd8fa10cf Mon Sep 17 00:00:00 2001 From: Bram Mittendorff Date: Fri, 29 Dec 2023 11:00:59 +0100 Subject: [PATCH] Added whitespace around arithmic operator --- python_gpt_po/po_translator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python_gpt_po/po_translator.py b/python_gpt_po/po_translator.py index ab54f82..0f695bd 100644 --- a/python_gpt_po/po_translator.py +++ b/python_gpt_po/po_translator.py @@ -51,7 +51,7 @@ def translate_bulk(self, texts, target_language, po_file_path, current_batch): "Keep the translations concise and preserve the original meaning. " "Use the format 'Index: Translation' for each segment:\n\n") for index, text in enumerate(batch_texts): - translation_request += f"{i*self.batch_size + index}: {text}\n" + translation_request += f"{i * self.batch_size + index}: {text}\n" retries = 3