File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ def test_tokens_multimodal_video_audio_file_api(self):
156
156
model = genai .GenerativeModel ("models/gemini-1.5-flash" )
157
157
158
158
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" )
160
160
161
161
# Videos need to be processed before you can use them.
162
162
while your_file .state .name == "PROCESSING" :
@@ -179,11 +179,11 @@ def test_tokens_multimodal_video_audio_file_api(self):
179
179
180
180
# [START tokens_multimodal_video_audio_file_api_return]
181
181
# processing video...
182
- # total_tokens: 3840
182
+ # total_tokens: 300
183
183
#
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
187
187
# [END tokens_multimodal_video_audio_file_api_return]
188
188
189
189
def test_tokens_cached_content (self ):
You can’t perform that action at this time.
0 commit comments