It only takes 3 steps to generate subtitles from sound

Generate subtitles from audio files

Use google-colab

!pip install git+https://github.com/openai/whisper.git
!sudo apt update && sudo apt install ffmpeg
这里是对的方法
!whisper "/content/1/trump.mp4" --model tiny --device cpu --fp16 False
下面会报错
!whisper "ENTER FILE NAME HERE" --model medium.en
# 这里报错 使用这种 tiny --device cpu --fp16 False

Guess you like

Origin blog.csdn.net/qq_41638872/article/details/131024176