gradio使用transformer模块demo介绍4:Audio & Speech

文章目录

        • 语音转文字 Speech to Text (ASR)
        • 听声音识乐器 Musical Instrument Identification
        • 发言人核查 Speaker Verification

语音转文字 Speech to Text (ASR)

import gradio as gr
import os

# save your HF API token from https:/hf.co/settings/tokens as an env variable to avoid rate limiting
auth_token = os.getenv("auth_token")

你可能感兴趣的:(python可视化教程,gradio应用,transformer,深度学习,人工智能,gradio,AGI,AIGC,python)