Spaces:
Runtime error
Runtime error
Commit
·
9e4371a
1
Parent(s):
87b35e0
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def tester(text):
|
|
50 |
components.html(contents,width=560,height=325)
|
51 |
|
52 |
elif (results[0]['label']=="surprise"):
|
53 |
-
components.html("""<iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ
|
54 |
|
55 |
elif (results[0]['label']=="love"):
|
56 |
with open('loveplaylist.txt') as f:
|
|
|
50 |
components.html(contents,width=560,height=325)
|
51 |
|
52 |
elif (results[0]['label']=="surprise"):
|
53 |
+
components.html("""<iframe width="560" height="315" src="https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>""",width=560,height=325)
|
54 |
|
55 |
elif (results[0]['label']=="love"):
|
56 |
with open('loveplaylist.txt') as f:
|