Skip to content

Commit acf649d

Browse files
committed
replaced model names with CONSTANT
1 parent a2d9500 commit acf649d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Speech_transcription_methods.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,15 +412,15 @@
412412
" \"session\": {\n",
413413
" \"input_audio_format\": \"pcm16\",\n",
414414
" \"turn_detection\": {\"type\": \"server_vad\", \"threshold\": vad},\n",
415-
" \"input_audio_transcription\": {\"model\": MODEL_NAME},\n",
415+
" \"input_audio_transcription\": {\"model\": model},\n",
416416
" },\n",
417417
" }\n",
418418
"\n",
419419
"async def transcribe_audio_async(\n",
420420
" wav_path,\n",
421421
" api_key,\n",
422422
" *,\n",
423-
" model: str = \"gpt-4o-transcribe\",\n",
423+
" model: str = MODEL_NAME,\n",
424424
" chunk: int = CHUNK_SAMPLES,\n",
425425
") -> str:\n",
426426
" pcm = load_and_resample(wav_path)\n",

0 commit comments

Comments
 (0)