mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 06:26:03 +00:00
add content_duration to yield
This commit is contained in:
parent
541c7e360f
commit
637205bc33
@ -501,6 +501,7 @@ def transcribe(
|
||||
text=tokenizer.decode(all_tokens[len(initial_prompt_tokens) :]),
|
||||
segments=all_segments,
|
||||
language=language,
|
||||
content_duration=content_duration
|
||||
)
|
||||
|
||||
return dict(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user