Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -25,12 +25,13 @@ article = (
|
|
| 25 |
"<a href='https://github.com/NVIDIA/NeMo' target='_blank'>π§βπ» Repository</a>"
|
| 26 |
"</p>"
|
| 27 |
)
|
|
|
|
| 28 |
|
| 29 |
examples = [
|
| 30 |
-
["
|
| 31 |
-
["
|
|
|
|
| 32 |
]
|
| 33 |
-
'''
|
| 34 |
|
| 35 |
def _return_yt_html_embed(yt_url):
|
| 36 |
video_id = yt_url.split("?v=")[-1]
|
|
@@ -110,6 +111,7 @@ file_transcribe = gr.Interface(
|
|
| 110 |
gr.Audio(sources="upload", type="filepath", label="Audio file"),
|
| 111 |
],
|
| 112 |
outputs="text",
|
|
|
|
| 113 |
theme="huggingface",
|
| 114 |
title="Transcribe Audio",
|
| 115 |
description=(
|
|
|
|
| 25 |
"<a href='https://github.com/NVIDIA/NeMo' target='_blank'>π§βπ» Repository</a>"
|
| 26 |
"</p>"
|
| 27 |
)
|
| 28 |
+
'''
|
| 29 |
|
| 30 |
examples = [
|
| 31 |
+
["135.wav"],
|
| 32 |
+
["common_voice_zgh_37837257.mp3"],
|
| 33 |
+
["common_voice_zgh_37838337.mp3"]
|
| 34 |
]
|
|
|
|
| 35 |
|
| 36 |
def _return_yt_html_embed(yt_url):
|
| 37 |
video_id = yt_url.split("?v=")[-1]
|
|
|
|
| 111 |
gr.Audio(sources="upload", type="filepath", label="Audio file"),
|
| 112 |
],
|
| 113 |
outputs="text",
|
| 114 |
+
examples=examples,
|
| 115 |
theme="huggingface",
|
| 116 |
title="Transcribe Audio",
|
| 117 |
description=(
|