From 3fae696f453c7e4552d18d9f7f434669f35ae521 Mon Sep 17 00:00:00 2001 From: Noah Negrey Date: Wed, 11 Mar 2020 14:18:14 -0600 Subject: [PATCH] Update analyze.py Fix: https://github.com/GoogleCloudPlatform/python-docs-samples/issues/2991 This test should take around 10-15 seconds to run, but every once in awhile there seems to be something causing it to take a long time. --- video/cloud-client/analyze/analyze.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/cloud-client/analyze/analyze.py b/video/cloud-client/analyze/analyze.py index 3ceef445038..d7e590928be 100644 --- a/video/cloud-client/analyze/analyze.py +++ b/video/cloud-client/analyze/analyze.py @@ -296,7 +296,7 @@ def video_detect_text_gcs(input_uri): features=features) print('\nProcessing video for text detection.') - result = operation.result(timeout=300) + result = operation.result(timeout=600) # The first result is retrieved because a single video was processed. annotation_result = result.annotation_results[0]