Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -23,5 +23,5 @@ if st.button("Analyze Sentiment"):
|
|
23 |
st.write(f"Confidence Score: {sentiment_score:.2f}")
|
24 |
|
25 |
# Run the Streamlit app
|
26 |
-
if
|
27 |
st.write("Enter a message and click 'Analyze Sentiment' to classify its sentiment.")
|
|
|
23 |
st.write(f"Confidence Score: {sentiment_score:.2f}")
|
24 |
|
25 |
# Run the Streamlit app
|
26 |
+
if __name__ == "__main__":
|
27 |
st.write("Enter a message and click 'Analyze Sentiment' to classify its sentiment.")
|