sample mp3 for distil

Post Reply
88922493
Posts: 1290
Joined: Sat Feb 05, 2022 9:35 am

sample mp3 for distil

Post by 88922493 »

model_id = "distil-whisper/distil-medium.en"
10m.zip
(13.48 MiB) Downloaded 1257 times
---------------------------------------------------------
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'

Post Reply