ayymen commited on
Commit
27f4f00
1 Parent(s): 900e33c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
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
- ["data/conversation.wav"],
31
- ["data/id10270_5r0dWxy17C8-00001.wav"],
 
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=(