mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-06-09 02:09:07 +08:00
[Misc] Openai transcription client example use same Whisper model (#16487)
Signed-off-by: NickLucche <nlucches@redhat.com>
This commit is contained in:
parent
c5bc0e7fcc
commit
f069f3ea74
@ -23,7 +23,7 @@ def sync_openai():
|
|||||||
with open(str(mary_had_lamb), "rb") as f:
|
with open(str(mary_had_lamb), "rb") as f:
|
||||||
transcription = client.audio.transcriptions.create(
|
transcription = client.audio.transcriptions.create(
|
||||||
file=f,
|
file=f,
|
||||||
model="openai/whisper-small",
|
model="openai/whisper-large-v3",
|
||||||
language="en",
|
language="en",
|
||||||
response_format="json",
|
response_format="json",
|
||||||
temperature=0.0)
|
temperature=0.0)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user