Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
| 2 |
from transformers import pipeline
|
| 3 |
import streamlit as st
|
| 4 |
|
| 5 |
-
st.
|
| 6 |
sentiment_task = pipeline("sentiment-analysis")
|
| 7 |
text=st.text_area("enter text here to get the sentiment")
|
| 8 |
if text:
|
|
|
|
| 2 |
from transformers import pipeline
|
| 3 |
import streamlit as st
|
| 4 |
|
| 5 |
+
st.header("Sentiment analysis app using transformers")
|
| 6 |
sentiment_task = pipeline("sentiment-analysis")
|
| 7 |
text=st.text_area("enter text here to get the sentiment")
|
| 8 |
if text:
|