From 0f0114663ab8e1f2a8bbcccb1bccf859bb613369 Mon Sep 17 00:00:00 2001 From: dylanhamidy Date: Sun, 2 Jun 2024 13:04:59 +0900 Subject: [PATCH 1/2] Fix train_file_list_to_json --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 0d1f17b..a5c0c8a 100644 --- a/main.py +++ b/main.py @@ -27,7 +27,7 @@ def process_file(file): english_file = process_file(english_file) english_file = process_file(german_file) - processed_file_list.append(template_mid + english_file + template_start + german_file + template_start) + processed_file_list.append(template_start + english_file + template_mid + german_file + template_end) return processed_file_list From 3db5e3e861c35fa37ef9a3d7a912635fb4e5fdaa Mon Sep 17 00:00:00 2001 From: dylanhamidy Date: Sun, 2 Jun 2024 13:18:00 +0900 Subject: [PATCH 2/2] Final fix train_file_list_to_json --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index a5c0c8a..1797a59 100644 --- a/main.py +++ b/main.py @@ -25,7 +25,7 @@ def process_file(file): processed_file_list = [] for english_file, german_file in zip(english_file_list, german_file_list): english_file = process_file(english_file) - english_file = process_file(german_file) + german_file = process_file(german_file) processed_file_list.append(template_start + english_file + template_mid + german_file + template_end) return processed_file_list