Bisht15/helloworld
2
1import streamlit as st 2from transformers import pipeline3 4pipe= pipeline('sentiment-analysis')5text=st.text_area('enter some text!')6 7if text:8 out=pipe(text)9 st.json(out)1import streamlit as st 2from transformers import pipeline3 4pipe= pipeline('sentiment-analysis')5text=st.text_area('enter some text!')6 7if text:8 out=pipe(text)9 st.json(out)