| import stremlit as st | |
| from transformers import pipeline | |
| pipe = pipelien("sentiment-analysis") | |
| text = st.text_area('enter some text') | |
| if text: | |
| out = pipe(text) | |
| st.json(out) | |
| import stremlit as st | |
| from transformers import pipeline | |
| pipe = pipelien("sentiment-analysis") | |
| text = st.text_area('enter some text') | |
| if text: | |
| out = pipe(text) | |
| st.json(out) | |