sample mp3 for distil
sample mp3 for distil
model_id = "distil-whisper/distil-medium.en"
Traceback (most recent call last):
File "/root/dis-main.py", line 42, in <module>
hf_pipeline_to_srt(result, output_file=output_srt)
File "/root/dis_utils.py", line 23, in hf_pipeline_to_srt
start, end = map(convert_time, chk["timestamp"])
File "/root/dis_utils.py", line 9, in convert_time
seconds, milliseconds = map(int, str(data).split("."))
ValueError: invalid literal for int() with base 10: 'None'
---------------------------------------------------------Traceback (most recent call last):
File "/root/dis-main.py", line 42, in <module>
hf_pipeline_to_srt(result, output_file=output_srt)
File "/root/dis_utils.py", line 23, in hf_pipeline_to_srt
start, end = map(convert_time, chk["timestamp"])
File "/root/dis_utils.py", line 9, in convert_time
seconds, milliseconds = map(int, str(data).split("."))
ValueError: invalid literal for int() with base 10: 'None'