changed gcv timeout
Browse files
ocr.py
CHANGED
@@ -23,7 +23,7 @@ class VisionClient:
|
|
23 |
except ValueError as e:
|
24 |
print("Image could not be read")
|
25 |
return
|
26 |
-
response = self.client.document_text_detection(image, timeout=
|
27 |
return response
|
28 |
|
29 |
def get_response(self, content):
|
|
|
23 |
except ValueError as e:
|
24 |
print("Image could not be read")
|
25 |
return
|
26 |
+
response = self.client.document_text_detection(image, timeout=60)
|
27 |
return response
|
28 |
|
29 |
def get_response(self, content):
|