声音生成字幕只需3步

音频文件生成字幕

使用 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

猜你喜欢

转载自blog.csdn.net/qq_41638872/article/details/131024176