From af10b5a3da9e9b97feada2cfc0cf1828443d60cf Mon Sep 17 00:00:00 2001 From: Tahir <68889901+tahirjmakhdoomi@users.noreply.github.com> Date: Thu, 5 Dec 2024 14:33:45 +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 18ebbdf8c..637837638 100644 --- a/backend/projects/views.py +++ b/backend/projects/views.py @@ -878,7 +878,7 @@ def convert_prediction_json_to_annotation_result(pk, proj_type): # converting prediction_json to result (wherever it exists) for every task. if prediction_json == None: return result - for pred_type, pred_json in prediction_json.keys(): + for pred_type, pred_json in prediction_json.items(): for idx, val in enumerate(pred_json): label_dict = { "origin": "manual",