Issue with max_line_width parameter in openai whisper client #1652
Unanswered
fedigiorgio
asked this question in
Q&A
Replies: 2 comments
-
This version of whisper on github has a |
Beta Was this translation helpful? Give feedback.
0 replies
-
I also had the same issue, and in case anyone is still experiencing it, this solved it for me: "To use your word_option make sure you are using word_timestamps=True & task='transcribe' flags in DecodingOptions() or transcribe()."
Credits for the answer: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm currently using the Whisper client from OpenAI python, and I'm trying to limit the number of characters in the output by using the max_line_width parameter. However, it doesn't seem to have any effect. Could you please verify if I'm using the parameters correctly?
openai.Audio.transcribe_raw('whisper-1', audio, f'{uuid.uuid4()}.mp3', response_format='vtt', language='en', max_line_width=32)
I expect the max_line_width parameter to limit the width of the output lines to 32 characters, but it doesn't seem to be working as expected. Any guidance or assistance in resolving this issue would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions