Skip to content

Commit 243e99a

Browse files
authored
chore(genai) Update gemini model live conv audio with audio (#13820)
* chore(genai) Update Gemini model version for live conversation audio with audio b/481443183 * added missing blank line * updated comment
1 parent e6e937d commit 243e99a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

genai/live/live_conversation_audio_with_audio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
# The number of audio frames to send in each chunk.
3333
CHUNK = 4200
3434
CHANNELS = 1
35-
MODEL = "gemini-live-2.5-flash-preview-native-audio-09-2025"
35+
MODEL = "gemini-live-2.5-flash-native-audio"
3636

3737
# The audio sample rate expected by the model.
3838
INPUT_RATE = 16000
@@ -118,7 +118,7 @@ async def receive() -> None:
118118
receive_task = asyncio.create_task(receive())
119119
await asyncio.gather(send_task, receive_task)
120120
# Example response:
121-
# gemini-2.0-flash-live-preview-04-09
121+
# gemini-live-2.5-flash-native-audio
122122
# {'input_transcription': {'text': 'Hello.'}}
123123
# {'output_transcription': {}}
124124
# {'output_transcription': {'text': 'Hi'}}

0 commit comments

Comments
 (0)