Return the response from the AI tool (#4432) (#4505)

Co-authored-by: Adam Teuscher <adamteuscher@smartvisionworks.com>
main
Adam Teuscher 4 years ago committed by GitHub
parent 449ae0c5bf
commit eb634200e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,6 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Permission error occured when accessing the JobCommits (<https://github.com/openvinotoolkit/cvat/pull/4435>)
- job assignee can remove or update any issue created by the task owner (<https://github.com/openvinotoolkit/cvat/pull/4436>)
- Bug: Incorrect point deletion with keyboard shortcut (<https://github.com/openvinotoolkit/cvat/pull/4420>)
- some AI Tools were not sending responses properly (<https://github.com/openvinotoolkit/cvat/issues/4432>)
- Unable to upload annotations (<https://github.com/openvinotoolkit/cvat/pull/4513>)
### Security

@ -1,4 +1,4 @@
# Copyright (C) 2021 Intel Corporation
# Copyright (C) 2022 Intel Corporation
#
# SPDX-License-Identifier: MIT
@ -281,8 +281,8 @@ class LambdaFunction:
item["attributes"].append(attr)
item['label'] = mapping[item['label']]
response_filtered.append(item)
return response_filtered
response = response_filtered
return response
def _get_image(self, db_task, frame, quality):
if quality is None or quality == "original":

Loading…
Cancel
Save