Skip to content

Commit 0f4919a

Browse files
author
Guiners
committed
adding samples, test, lints
1 parent 5664c95 commit 0f4919a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

genai/text-generation/textgen-with-gcs-audio.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ async function generateContent(
3636
const response = await ai.models.generateContent({
3737
model: 'gemini-2.5-flash',
3838
contents: [
39-
{text: prompt},
4039
{
4140
fileData: {
4241
fileUri: 'gs://cloud-samples-data/generative-ai/audio/pixel.mp3',
4342
mimeType: 'audio/mpeg',
4443
},
4544
},
45+
{ text: prompt },
4646
],
4747
});
4848

0 commit comments

Comments
 (0)