Spaces:
Build error
Build error
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
|
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>")
|