Spaces:
Runtime error
Runtime error
Commit
·
a50c991
1
Parent(s):
cbb3a26
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,8 @@ def tester(text):
|
|
24 |
if a == 1:
|
25 |
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>""",width=560,height=325)
|
26 |
if a == 2:
|
27 |
-
|
|
|
28 |
elif (results[0]['label']=="anger"):
|
29 |
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>""",width=560,height=325)
|
30 |
|
|
|
24 |
if a == 1:
|
25 |
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>""",width=560,height=325)
|
26 |
if a == 2:
|
27 |
+
st.write("tester")
|
28 |
+
|
29 |
elif (results[0]['label']=="anger"):
|
30 |
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>""",width=560,height=325)
|
31 |
|