ysharma HF staff commited on
Commit
cc00947
1 Parent(s): 1aa32a9
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def display_vid(url, question, sample_question=None, example_video=None):
79
 
80
  if example_video is not None:
81
  print(f"example_video is : {example_video}")
82
- url = example_video
83
  #get transcript
84
  final_transcript, transcript, video_id = get_transcript(url)
85
 
 
79
 
80
  if example_video is not None:
81
  print(f"example_video is : {example_video}")
82
+ url = example_video[0]
83
  #get transcript
84
  final_transcript, transcript, video_id = get_transcript(url)
85