ysharma HF staff commited on
Commit
f83c478
1 Parent(s): 88fd33f
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def display_vid(video):
7
  #html = HTML("<iframe width='560' height='315' src='https://www.youtube.com/watch?v=smUHQndcmOY&t=425s' frameborder='0' allowfullscreen></iframe>")
8
  html = "<iframe width='560' height='315' src='https://www.youtube.com/embed/smUHQndcmOY&t=425s' frameborder='0' allowfullscreen></iframe>"
9
  vid = YouTubeVideo('smUHQndcmOY&t=425s')
10
- return html
11
 
12
  def fun(url):
13
  return gr.Video(value=url)
 
7
  #html = HTML("<iframe width='560' height='315' src='https://www.youtube.com/watch?v=smUHQndcmOY&t=425s' frameborder='0' allowfullscreen></iframe>")
8
  html = "<iframe width='560' height='315' src='https://www.youtube.com/embed/smUHQndcmOY&t=425s' frameborder='0' allowfullscreen></iframe>"
9
  vid = YouTubeVideo('smUHQndcmOY&t=425s')
10
+ return vid
11
 
12
  def fun(url):
13
  return gr.Video(value=url)