mirror of
https://github.com/openai/whisper.git
synced 2025-03-30 14:28:27 +00:00
fix to return only the text token ids
This commit is contained in:
parent
76148a56c5
commit
02aa851a49
@ -157,7 +157,7 @@ def transcribe(
|
||||
"start": start,
|
||||
"end": end,
|
||||
"text": text,
|
||||
"tokens": result.tokens,
|
||||
"tokens": text_tokens.tolist(),
|
||||
"temperature": result.temperature,
|
||||
"avg_logprob": result.avg_logprob,
|
||||
"compression_ratio": result.compression_ratio,
|
||||
|
Loading…
x
Reference in New Issue
Block a user