File size: 476 Bytes
fc67275
 
6849f63
 
fc67275
 
 
 
6849f63
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr

description = "HuBERT demo. Add your audio or click one of the examples below to load them."
article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2106.07447'>HuBERT: Self-Supervised Speech Representation Learning by Masked Prediction of Hidden Units</a></p>"

gr.Interface.load("huggingface/facebook/hubert-large-ls960-ft", 
    description=description,
    article=article,
    examples=[["./audio1.mp3"], ["./audio2.mp3"]]
).launch()