Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
f069f3ea
Unverified
Commit
f069f3ea
authored
Apr 12, 2025
by
Nicolò Lucchesi
Committed by
GitHub
Apr 12, 2025
Browse files
[Misc] Openai transcription client example use same Whisper model (#16487)
Signed-off-by:
NickLucche
<
nlucches@redhat.com
>
parent
c5bc0e7f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
examples/online_serving/openai_transcription_client.py
examples/online_serving/openai_transcription_client.py
+1
-1
No files found.
examples/online_serving/openai_transcription_client.py
View file @
f069f3ea
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment