springwater commited on
Commit
3121ba2
·
verified ·
1 Parent(s): 356f31b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ def search_youtube_videos(keyword, limit=5):
9
  return video_urls
10
 
11
  def gradio_interface(keyword):
12
- video_urls = search_youtube_videos(keyword, limit=5)
13
  return "\n".join(video_urls)
14
 
15
  interface = gr.Interface(
 
9
  return video_urls
10
 
11
  def gradio_interface(keyword):
12
+ video_urls = search_youtube_videos(keyword, limit=5, order='date')
13
  return "\n".join(video_urls)
14
 
15
  interface = gr.Interface(