shawarmabytes commited on
Commit
0e38ada
·
1 Parent(s): 8739c7e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -33,14 +33,14 @@ def tester(text):
33
 
34
 
35
  elif (results[0]['label']=="sadness"):
 
36
  #video = YouTubeVideo("1k8craCGpgs")
37
  #display(video)
38
  #st_player("https://www.youtube.com/watch?v=BZsXcc_tC-o")
39
  # embed streamlit docs in a streamlit app
40
- components.html("""<iframe width=560" height="315" src="https://www.youtube.com/embed/NwFVSclD_uc?&autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>""",width=560,height=325)
41
-
42
-
43
 
 
44
 
45
 
46
  elif (results[0]['label']=="surprise"):
 
33
 
34
 
35
  elif (results[0]['label']=="sadness"):
36
+
37
  #video = YouTubeVideo("1k8craCGpgs")
38
  #display(video)
39
  #st_player("https://www.youtube.com/watch?v=BZsXcc_tC-o")
40
  # embed streamlit docs in a streamlit app
41
+ #components.html("""<iframe width=560" height="315" src="https://www.youtube.com/embed/NwFVSclD_uc?&autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>""",width=560,height=325)
 
 
42
 
43
+ components.html("""<iframe width="560" height="315" src="https://www.youtube.com/embed/CveANi17YfU&autoplay=1" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>""",width=560,height=325)
44
 
45
 
46
  elif (results[0]['label']=="surprise"):