Skip to content

Commit 752d731

Browse files
committed
Fix video file name.
Change-Id: Id1ff1196fa8072cc90d1a3921846687687b180b4
1 parent 494597f commit 752d731

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: samples/count_tokens.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def test_tokens_multimodal_video_audio_file_api(self):
156156
model = genai.GenerativeModel("models/gemini-1.5-flash")
157157

158158
prompt = "Tell me about this video"
159-
your_file = genai.upload_file(path=media / "VideoTrim.mp4")
159+
your_file = genai.upload_file(path=media / "Big_Buck_Bunny.mp4")
160160

161161
# Videos need to be processed before you can use them.
162162
while your_file.state.name == "PROCESSING":
@@ -179,11 +179,11 @@ def test_tokens_multimodal_video_audio_file_api(self):
179179

180180
# [START tokens_multimodal_video_audio_file_api_return]
181181
# processing video...
182-
# total_tokens: 3840
182+
# total_tokens: 300
183183
#
184-
# prompt_token_count: 3841
185-
# candidates_token_count: 33
186-
# total_token_count: 3874
184+
# prompt_token_count: 301
185+
# candidates_token_count: 60
186+
# total_token_count: 361
187187
# [END tokens_multimodal_video_audio_file_api_return]
188188

189189
def test_tokens_cached_content(self):

0 commit comments

Comments
 (0)