Skip to content

Commit

Permalink
Added whitespace around arithmic operator
Browse files Browse the repository at this point in the history
  • Loading branch information
pescheck-bram committed Dec 29, 2023
1 parent 164a6e6 commit aed93ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_gpt_po/po_translator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit aed93ff

Please sign in to comment.