Update app.py
Browse files
app.py
CHANGED
@@ -9,10 +9,10 @@ def sentiment_funtion(text):
|
|
9 |
return label , score
|
10 |
|
11 |
def main():
|
12 |
-
st.title("
|
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("
|
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)
|