shawarmabytes commited on
Commit
f301aac
1 Parent(s): 0cff610

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from streamlit_player import st_player
3
  from transformers import pipeline
4
  from IPython.display import YouTubeVideo
5
-
6
 
7
  def tester(text):
8
  #classifier = pipeline("sentiment-analysis", model='arpanghoshal/EmoRoBERTa')
@@ -33,6 +33,7 @@ def tester(text):
33
 
34
  elif (results[0]['label']=="surprise"):
35
  st_player("https://youtu.be/CmSKVW1v0xM")
 
36
 
37
  elif (results[0]['label']=="love"):
38
  st_player("https://www.youtube.com/watch?v=XVhEm62Uqog")
 
2
  from streamlit_player import st_player
3
  from transformers import pipeline
4
  from IPython.display import YouTubeVideo
5
+ import random
6
 
7
  def tester(text):
8
  #classifier = pipeline("sentiment-analysis", model='arpanghoshal/EmoRoBERTa')
 
33
 
34
  elif (results[0]['label']=="surprise"):
35
  st_player("https://youtu.be/CmSKVW1v0xM")
36
+ st.write("check out this [link](https://open.spotify.com/playlist/4yXfnhz0BReoVfwwYRtPBm)")
37
 
38
  elif (results[0]['label']=="love"):
39
  st_player("https://www.youtube.com/watch?v=XVhEm62Uqog")