Open ericflesher opened 1 year ago
Seems that the API for whisper has changed again, I changed the code accordingly and this worked:
options = dict( highlight_words=False, max_line_width=None, max_line_count=None ) writer.write_result( whispers[k], f, options )
The code crashes every time more or less here, regardless of what YouTube video link I give it.
TypeError Traceback (most recent call last) in <cell line: 155>()
216 with open(outpath,'w') as f:
217 # to do: upstream PR to control verbosity
--> 218 writer.write_result(
219 whispers[k],
220 file=f,
TypeError: write_result() missing 1 required positional argument: 'options'