Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Fix] Update attribute extraction in Google Video API
Modified the Google Video API code to handle potential exceptions better. Changed the code to use the 'get' method instead of direct indexing for 'confidence' in 'attribute_dict', preventing KeyErrors when 'confidence' is not in the dictionary.
- Loading branch information