kavg commited on
Commit
d0225fc
·
1 Parent(s): 16d7e9b

changed gcv timeout

Browse files
Files changed (1) hide show
  1. ocr.py +1 -1
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=10)
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):