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