Skip to content

Commit 74d165e

Browse files
authored
refactor: Update to the newly launched Gemini 2.5 Flash Live API model (#2355)
1 parent 33dd1b1 commit 74d165e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

gemini/multimodal-live-api/intro_live_api_native_audio.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@
219219
"if not PROJECT_ID or PROJECT_ID == \"[your-project-id]\":\n",
220220
" PROJECT_ID = str(os.environ.get(\"GOOGLE_CLOUD_PROJECT\"))\n",
221221
"\n",
222-
"LOCATION = os.environ.get(\"GOOGLE_CLOUD_REGION\", \"global\")\n",
222+
"LOCATION = os.environ.get(\"GOOGLE_CLOUD_REGION\", \"us-central1\")\n",
223223
"\n",
224224
"from google import genai\n",
225225
"\n",
@@ -246,7 +246,7 @@
246246
},
247247
"outputs": [],
248248
"source": [
249-
"MODEL_ID = \"gemini-live-2.5-flash-preview-native-audio\" # @param {type: \"string\"}"
249+
"MODEL_ID = \"gemini-live-2.5-flash-preview-native-audio-09-2025\" # @param {type: \"string\"}"
250250
]
251251
},
252252
{

gemini/multimodal-live-api/intro_multimodal_live_api.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1428,7 +1428,7 @@
14281428
},
14291429
"outputs": [],
14301430
"source": [
1431-
"MODEL_ID = \"gemini-live-2.5-flash-preview-native-audio\" # @param {type: \"string\"}\n",
1431+
"MODEL_ID = \"gemini-live-2.5-flash-preview-native-audio-09-2025\" # @param {type: \"string\"}\n",
14321432
"\n",
14331433
"MODEL = (\n",
14341434
" f\"projects/{PROJECT_ID}/locations/{LOCATION}/publishers/google/models/{MODEL_ID}\"\n",

0 commit comments

Comments
 (0)