shawarmabytes commited on
Commit
543c26b
·
1 Parent(s): 1cd7ed4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ tester(emo)
24
  generator = st.button("Generate Song!")
25
 
26
  if (generator == True):
27
- elif (results[0]['label']=="anger"): #songs for anger emotion
28
  with open('angryplaylist.txt') as f:
29
  contents = f.read()
30
  components.html(contents,width=560,height=325)
 
24
  generator = st.button("Generate Song!")
25
 
26
  if (generator == True):
27
+ if (results[0]['label']=="anger"): #songs for anger emotion
28
  with open('angryplaylist.txt') as f:
29
  contents = f.read()
30
  components.html(contents,width=560,height=325)