From 7bef1eaf101f88bc44f59f1531531c42216ae23c Mon Sep 17 00:00:00 2001 From: Deep santani Date: Sat, 10 Oct 2020 10:55:12 +0530 Subject: [PATCH] Syntax Error --- analyze-images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analyze-images.py b/analyze-images.py index b222571..2fbbc6c 100644 --- a/analyze-images.py +++ b/analyze-images.py @@ -52,7 +52,7 @@ file_content = file.download_as_string() # TBD: Create a Vision API image object called image_object - image_object = vision.types.Image(content=file_content) + image_object = vision.Image(content=file_content) # Ref: https://googleapis.dev/python/vision/latest/gapic/v1/types.html#google.cloud.vision_v1.types.Image