shawarmabytes commited on
Commit
37fb8c1
·
1 Parent(s): bb66bdc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -35,8 +35,7 @@ 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
- components.iframe("https://docs.streamlit.io/en/latest")
39
-
40
 
41
  elif (results[0]['label']=="surprise"):
42
  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
+ st.components.v1.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
  elif (results[0]['label']=="surprise"):
41
  st_player("https://youtu.be/CmSKVW1v0xM")