Skip to content

Commit 83e80fe

Browse files
authored
replace demomaker with cloud-samples-data/video for video intelligenc… [(#2162)](GoogleCloudPlatform/python-docs-samples#2162)
* replace demomaker with cloud-samples-data/video for video intelligence samples * flake
1 parent 932893c commit 83e80fe

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

samples/shotchange/README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ To run this sample:
8686
8787
Example Usage:
8888
89-
python shotchange.py gs://demomaker/gbikes_dinosaur.mp4
89+
python shotchange.py gs://cloud-samples-data/video/gbikes_dinosaur.mp4
9090
9191
positional arguments:
9292
path GCS path for shot change detection.
@@ -113,4 +113,4 @@ to `browse the source`_ and `report issues`_.
113113
https://github.com/GoogleCloudPlatform/google-cloud-python/issues
114114

115115

116-
.. _Google Cloud SDK: https://cloud.google.com/sdk/
116+
.. _Google Cloud SDK: https://cloud.google.com/sdk/

samples/shotchange/shotchange.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
2323
Example Usage:
2424
25-
python shotchange.py gs://demomaker/gbikes_dinosaur.mp4
25+
python shotchange.py gs://cloud-samples-data/video/gbikes_dinosaur.mp4
2626
2727
"""
2828

samples/shotchange/shotchange_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
@pytest.mark.slow
2323
def test_shots_dino(capsys):
24-
shotchange.analyze_shots('gs://demomaker/gbikes_dinosaur.mp4')
24+
shotchange.analyze_shots(
25+
'gs://cloud-samples-data/video/gbikes_dinosaur.mp4')
2526
out, _ = capsys.readouterr()
2627
assert 'Shot 1:' in out

0 commit comments

Comments
 (0)