Spaces:
Build error
Build error
app.py
CHANGED
@@ -77,6 +77,8 @@ def get_answers_timestamp(question, final_transcript, transcript):
|
|
77 |
|
78 |
def display_vid(url, question, sample_question=None):
|
79 |
print("******** display_vid ********")
|
|
|
|
|
80 |
#https://www.youtube.com/watch?v=smUHQndcmOY&t=425s
|
81 |
#html = HTML("<iframe width='560' height='315' src='https://www.youtube.com/watch?v=smUHQndcmOY&t=425s' frameborder='0' allowfullscreen></iframe>")
|
82 |
#html = "<iframe width='560' height='315' src='https://www.youtube.com/embed/smUHQndcmOY' frameborder='0' allowfullscreen></iframe>"
|
|
|
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>")
|
84 |
#html = "<iframe width='560' height='315' src='https://www.youtube.com/embed/smUHQndcmOY' frameborder='0' allowfullscreen></iframe>"
|