Benjy commited on
Commit
5e0244a
·
verified ·
1 Parent(s): 008b3a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,7 @@ sentiment_pipeline = pipeline("sentiment-analysis")
6
 
7
  # Streamlit UI
8
  st.title("Sentiment Analysis")
9
- st.write("Enter text below to analyse the sentiment:")
10
  st.write("You can copy and paste a comment from social media for example.")
11
 
12
  # Text input
@@ -23,4 +23,4 @@ if st.button("Analyse Sentiment"):
23
  confidence_percentage = score * 100
24
  st.write(f"Sentiment: {sentiment} (Confidence: {confidence_percentage:.2f}%)")
25
  else:
26
- st.write("Please enter some text to analyze.")
 
6
 
7
  # Streamlit UI
8
  st.title("Sentiment Analysis")
9
+ st.write("Enter text below to analyse the sentiment.")
10
  st.write("You can copy and paste a comment from social media for example.")
11
 
12
  # Text input
 
23
  confidence_percentage = score * 100
24
  st.write(f"Sentiment: {sentiment} (Confidence: {confidence_percentage:.2f}%)")
25
  else:
26
+ st.write("Please enter some text to proceed.")