Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tahirjmakhdoomi authored Dec 7, 2024
1 parent 068a73c commit 2182c7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 2182c7a

Please sign in to comment.