From 2182c7aaff33d0c6c5fbf4db1c0bf32776757acf Mon Sep 17 00:00:00 2001 From: Tahir <68889901+tahirjmakhdoomi@users.noreply.github.com> Date: Sat, 7 Dec 2024 11:38:56 +0530 Subject: [PATCH] Update views.py --- backend/projects/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/projects/views.py b/backend/projects/views.py index 59220de75..1f6e97e4e 100644 --- a/backend/projects/views.py +++ b/backend/projects/views.py @@ -880,7 +880,7 @@ def convert_prediction_json_to_annotation_result(pk, proj_type): return result # for pred_type, pred_json in prediction_json.items(): if 'acoustic_normalised_transcribed_json' in prediction_json.keys(): - for idx, val, val_acoustic in enumerate(zip(prediction_json['verbatim_transcribed_json'],prediction_json['acoustic_normalised_transcribed_json'])): + for idx, (val, val_acoustic) in enumerate(zip(prediction_json['verbatim_transcribed_json'],prediction_json['acoustic_normalised_transcribed_json'])): label_dict = { "origin": "manual", "to_name": "audio_url",