Spaces:
Runtime error
Runtime error
Ahsen Khaliq
commited on
Commit
•
da11d2a
1
Parent(s):
b0bdb0c
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,12 @@
|
|
1 |
import gradio as gr
|
2 |
-
|
3 |
-
|
|
|
|
|
|
|
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()
|