Dineth98 commited on
Commit
6735bf3
1 Parent(s): 5685146

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -9,10 +9,10 @@ def sentiment_funtion(text):
9
  return label , score
10
 
11
  def main():
12
- st.title("Dineth")
13
  st.sidebar.image("https://huggingface.co/spaces/Dineth98/TA_1/resolve/main/sentiment-analysis-1280x720.jpg", use_column_width=True)
14
  st.sidebar.subheader("About This App")
15
- st.sidebar.write("Fuck off")
16
  user_input = st.text_area("Input Text Here")
17
  if st.button("Sentiment"):
18
  label , score = sentiment_funtion(user_input)
 
9
  return label , score
10
 
11
  def main():
12
+ st.title("Sentiment Analysis app")
13
  st.sidebar.image("https://huggingface.co/spaces/Dineth98/TA_1/resolve/main/sentiment-analysis-1280x720.jpg", use_column_width=True)
14
  st.sidebar.subheader("About This App")
15
+ st.sidebar.write("The app takes feedbacks as input and automatically identifies whether the feedback is positive, negative, or neutral. This analysis can be useful for businesses to gain insights into customer opinions and improve their products or services accordingly. The app can also be used by individuals to analyze social media posts, emails, and other forms of written communication to better understand the emotional tone of the message.")
16
  user_input = st.text_area("Input Text Here")
17
  if st.button("Sentiment"):
18
  label , score = sentiment_funtion(user_input)