Skip to content

Commit cea667e

Browse files
authored
Fix snippet name. (#432)
1 parent 9d9da1c commit cea667e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

samples/count_tokens.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ def test_tokens_multimodal_image_file_api(self):
5959
print(model.count_tokens(["Tell me about this instrument", organ_upload]))
6060
# [END tokens_multimodal_image_file_api]
6161

62-
def test_tokens_video_audio_file_api(self):
63-
# [START tokens_video_audio_file_api]
62+
def test_tokens_multimodal_video_audio_file_api(self):
63+
# [START tokens_multimodal_video_audio_file_api]
6464
model = genai.GenerativeModel("models/gemini-1.5-flash")
6565
audio_upload = genai.upload_file(media / "sample.mp3")
6666
print(model.count_tokens(audio_upload))

0 commit comments

Comments
 (0)