Ahsen Khaliq commited on
Commit
da11d2a
1 Parent(s): b0bdb0c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -3
app.py CHANGED
@@ -1,7 +1,12 @@
1
  import gradio as gr
2
- description = "HuBERT demo. Add your audio or click one of the examples below to load them."
3
- 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>"
 
 
 
4
  gr.Interface.load("huggingface/facebook/s2t-wav2vec2-large-en-de",
 
5
  description=description,
6
- article=article
 
7
  ).launch()
1
  import gradio as gr
2
+ title = "S2T2"
3
+ 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"
4
+ article = "<p style='text-align: center'><a href='https://arxiv.org/abs/2104.06678'>Large-Scale Self- and Semi-Supervised Learning for Speech Translation</a></p>"
5
+
6
+ examples = [['common_voice_en_18301577.mp3']]
7
  gr.Interface.load("huggingface/facebook/s2t-wav2vec2-large-en-de",
8
+ title=title,
9
  description=description,
10
+ article=article,
11
+ examples=examples
12
  ).launch()