ysharma HF staff commited on
Commit
dc291ae
1 Parent(s): 9d536d2
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def get_answers_timestamp(question, final_transcript, transcript):
77
 
78
  def display_vid(url, question, sample_question=None):
79
  print("******** display_vid ********")
80
- if sample_question is not None:
81
  question = sample_question
82
  #https://www.youtube.com/watch?v=smUHQndcmOY&t=425s
83
  #html = HTML("<iframe width='560' height='315' src='https://www.youtube.com/watch?v=smUHQndcmOY&t=425s' frameborder='0' allowfullscreen></iframe>")
 
77
 
78
  def display_vid(url, question, sample_question=None):
79
  print("******** display_vid ********")
80
+ if question == '':
81
  question = sample_question
82
  #https://www.youtube.com/watch?v=smUHQndcmOY&t=425s
83
  #html = HTML("<iframe width='560' height='315' src='https://www.youtube.com/watch?v=smUHQndcmOY&t=425s' frameborder='0' allowfullscreen></iframe>")