Spaces:
Build error
Build error
app.py
CHANGED
@@ -95,9 +95,10 @@ def display_vid(url, question, sample_question=None):
|
|
95 |
#sample - smUHQndcmOY?start=234
|
96 |
html_out = "<iframe width='560' height='315' src='https://www.youtube.com/embed/" + video_id + "?start=" + str(ans_timestamp) + "' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>"
|
97 |
print(f"html output is : {html_out}")
|
98 |
-
|
99 |
-
|
100 |
-
|
|
|
101 |
|
102 |
return html_out, sample_ques
|
103 |
|
|
|
95 |
#sample - smUHQndcmOY?start=234
|
96 |
html_out = "<iframe width='560' height='315' src='https://www.youtube.com/embed/" + video_id + "?start=" + str(ans_timestamp) + "' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture' allowfullscreen></iframe>"
|
97 |
print(f"html output is : {html_out}")
|
98 |
+
|
99 |
+
print(f"Inside display_vid(), Sample_Question coming from Radio box is BEFORE : {sample_question}")
|
100 |
+
sample_ques = set_example_question(sample_question)
|
101 |
+
print(f"Inside display_vid(), Sample Question coming from Radio box is AFTER : {sample_ques}")
|
102 |
|
103 |
return html_out, sample_ques
|
104 |
|