osanseviero/HUBERT
9
1import gradio as gr2 3description = "HuBERT demo. Add your audio or click one of the examples below to load them."4article = "<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>"5 6gr.Interface.load("huggingface/facebook/hubert-large-ls960-ft", 7 description=description,8 article=article,9 examples=[["./audio1.mp3"], ["./audio2.mp3"]]10).launch()11 