当前位置: 代码网 > 服务器>软件设计>开源 > 【语音识别】OpenAI whisper

【语音识别】OpenAI whisper

2024年08月06日 开源 我要评论
OpenAI 的开源自动语音识别神经网络 whisper。

目录

1. 简单介绍

2. 代码调用


1. 简单介绍

introducing whisperhttps://openai.com/blog/whisper/

openai 的开源自动语音识别神经网络 whisper

2. 代码调用

安装

# whisper
pip install git+https://github.com/openai/whisper.git 


# on ubuntu or debian
sudo apt update && sudo apt install ffmpeg


# 更多参考 https://github.com/openai/whisper

python 调用

import whisper

model = whisper.load_model("base")
result = model.transcribe("audio.mp3")
print(result["text"])

(0)

相关文章:

版权声明:本文内容由互联网用户贡献,该文观点仅代表作者本人。本站仅提供信息存储服务,不拥有所有权,不承担相关法律责任。 如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 2386932994@qq.com 举报,一经查实将立刻删除。

发表评论

验证码:
Copyright © 2017-2025  代码网 保留所有权利. 粤ICP备2024248653号
站长QQ:2386932994 | 联系邮箱:2386932994@qq.com