Skip to content

Commit 3c1800b

Browse files
committed
update client library version
1 parent 69071f9 commit 3c1800b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

video/cloud-client/analyze/beta_snippets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
import argparse
2929

30-
from google.cloud import videointelligence_v1beta2 as videointelligence
30+
from google.cloud import videointelligence_v1p1beta1 as videointelligence
3131

3232

3333
# [START video_face_bounding_boxes]

video/cloud-client/analyze/beta_snippets_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,20 @@
2222

2323

2424
BUCKET = os.environ['CLOUD_STORAGE_BUCKET']
25-
FACES_SHORT_FILE_PATH = '/video/googlework_short.mp4'
25+
FACES_SHORT_FILE_PATH = 'video/googlework_short.mp4'
2626

2727

2828
@pytest.mark.slow
2929
def test_face_bounding_boxes(capsys):
3030
beta_snippets.face_bounding_boxes(
31-
'gs://{}{}'.format(BUCKET, FACES_SHORT_FILE_PATH))
31+
'gs://{}/{}'.format(BUCKET, FACES_SHORT_FILE_PATH))
3232
out, _ = capsys.readouterr()
3333
assert 'top :' in out
3434

3535

3636
@pytest.mark.slow
3737
def test_face_emotions(capsys):
3838
beta_snippets.face_emotions(
39-
'gs://{}{}'.format(BUCKET, FACES_SHORT_FILE_PATH))
39+
'gs://{}/{}'.format(BUCKET, FACES_SHORT_FILE_PATH))
4040
out, _ = capsys.readouterr()
4141
assert 'CONCENTRATION' in out

0 commit comments

Comments
 (0)