[Misc] Openai transcription client example use same Whisper model (#16487)

Signed-off-by: NickLucche <nlucches@redhat.com>
This commit is contained in:
Nicolò Lucchesi 2025-04-12 09:27:03 +02:00 committed by GitHub
parent c5bc0e7fcc
commit f069f3ea74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,7 @@ def sync_openai():
with open(str(mary_had_lamb), "rb") as f:
transcription = client.audio.transcriptions.create(
file=f,
model="openai/whisper-small",
model="openai/whisper-large-v3",
language="en",
response_format="json",
temperature=0.0)