Spaces:
Build error
Build error
app.py
CHANGED
@@ -87,7 +87,7 @@ def display_vid(url, question, sample_question=None, example_video=None):
|
|
87 |
html_in = "<iframe width='560' height='315' src=" + url + " frameborder='0' allowfullscreen></iframe>"
|
88 |
#print(html)
|
89 |
|
90 |
-
if example_video is not None:
|
91 |
print(f"example_video is : {example_video}")
|
92 |
url = example_video[0]
|
93 |
#get transcript
|
|
|
87 |
html_in = "<iframe width='560' height='315' src=" + url + " frameborder='0' allowfullscreen></iframe>"
|
88 |
#print(html)
|
89 |
|
90 |
+
if len(example_video) !=0 : #is not None:
|
91 |
print(f"example_video is : {example_video}")
|
92 |
url = example_video[0]
|
93 |
#get transcript
|