jiedong-yang commited on
Commit
0a4a5ed
β€’
1 Parent(s): dddc03b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -199,8 +199,9 @@ with demo:
199
 
200
  examples = gr.Examples(examples=["https://www.youtube.com/watch?v=DuX4K4eeTz8",
201
  "https://www.youtube.com/watch?v=nepOSEGHHCQ"],
 
202
  fn=lambda x: speech_to_text(audio_from_url(x)),
203
- inputs=url, outputs=text, cache_examples=True)
204
 
205
  gr.HTML(footer_html)
206
 
 
199
 
200
  examples = gr.Examples(examples=["https://www.youtube.com/watch?v=DuX4K4eeTz8",
201
  "https://www.youtube.com/watch?v=nepOSEGHHCQ"],
202
+ inputs=url, outputs=text,
203
  fn=lambda x: speech_to_text(audio_from_url(x)),
204
+ cache_examples=True)
205
 
206
  gr.HTML(footer_html)
207