Update app.py
Browse files
app.py
CHANGED
@@ -9,6 +9,10 @@ def sentiment_funtion(text):
|
|
9 |
return label , score
|
10 |
|
11 |
def main():
|
|
|
|
|
|
|
|
|
12 |
user_input = st.text_area("Input Text Here")
|
13 |
if st.button("Sentiment"):
|
14 |
label , score = sentiment_funtion(user_input)
|
|
|
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)
|