import gradio as gr title = "S2T2" description = "Gradio demo for S2T2: a Speech to Text Transformer model trained for end-to-end Speech Translation (ST). To use it add your audio or click one of the examples below to load them. Read more at the links below" article = "

Large-Scale Self- and Semi-Supervised Learning for Speech Translation

" examples = [['common_voice_en_18301577.mp3']] gr.Interface.load("huggingface/facebook/s2t-wav2vec2-large-en-de", title=title, description=description, article=article, examples=examples ).launch()