Spaces:
Runtime error
Runtime error
Commit
·
b34c058
1
Parent(s):
37fb8c1
Update app.py
Browse files
app.py
CHANGED
|
@@ -35,7 +35,11 @@ def tester(text):
|
|
| 35 |
#display(video)
|
| 36 |
st_player("https://www.youtube.com/watch?v=BZsXcc_tC-o")
|
| 37 |
# embed streamlit docs in a streamlit app
|
| 38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 39 |
|
| 40 |
elif (results[0]['label']=="surprise"):
|
| 41 |
st_player("https://youtu.be/CmSKVW1v0xM")
|
|
|
|
| 35 |
#display(video)
|
| 36 |
st_player("https://www.youtube.com/watch?v=BZsXcc_tC-o")
|
| 37 |
# embed streamlit docs in a streamlit app
|
| 38 |
+
components.html("<iframe style="border-radius:12px" src="https://open.spotify.com/embed/track/4CHUoEXqFgOnPr7xaX4nN8?utm_source=generator" width="100%" height="380" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"></iframe>")
|
| 39 |
+
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
|
| 43 |
|
| 44 |
elif (results[0]['label']=="surprise"):
|
| 45 |
st_player("https://youtu.be/CmSKVW1v0xM")
|