ysharma HF staff commited on
Commit
3eb7cc0
1 Parent(s): 98603de
Files changed (1) hide show
  1. app.py +4 -3
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
- sample_ques = set_example_question(question)
100
- print(f"Inside display_vid(), Sample Question coming from Radio box is : {sample_ques}")
 
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