shawarmabytes commited on
Commit
87b35e0
·
1 Parent(s): d2e4002

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -7,6 +7,7 @@ import streamlit as st
7
 
8
 
9
  st.header("stream your emotions")
 
10
  st.caption("love: i love you")
11
  st.caption("surprise: shocking")
12
  st.caption("sadness: i feel exhausted")
@@ -49,7 +50,7 @@ def tester(text):
49
  components.html(contents,width=560,height=325)
50
 
51
  elif (results[0]['label']=="surprise"):
52
- st.write("gulat ka noh")
53
 
54
  elif (results[0]['label']=="love"):
55
  with open('loveplaylist.txt') as f:
 
7
 
8
 
9
  st.header("stream your emotions")
10
+ st.subheader("examples include:")
11
  st.caption("love: i love you")
12
  st.caption("surprise: shocking")
13
  st.caption("sadness: i feel exhausted")
 
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>""")
54
 
55
  elif (results[0]['label']=="love"):
56
  with open('loveplaylist.txt') as f: