Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -21,7 +21,7 @@ with st.container():
|
|
21 |
|
22 |
with st.container():
|
23 |
st.write("---")
|
24 |
-
if st.button("Analyze!")
|
25 |
result = analysis(text)
|
26 |
sentiment = result[0]["label"]
|
27 |
score = result[0]["score"]
|
|
|
21 |
|
22 |
with st.container():
|
23 |
st.write("---")
|
24 |
+
if st.button("Analyze!"):
|
25 |
result = analysis(text)
|
26 |
sentiment = result[0]["label"]
|
27 |
score = result[0]["score"]
|