import streamlit as st | |
from transformers import pipeline | |
from app import TextClassifier | |
text = st.text_area("Enter your text here π") | |
if text: | |
out = TextClassifier.bertPipe(text) | |
st.json(out) |
import streamlit as st | |
from transformers import pipeline | |
from app import TextClassifier | |
text = st.text_area("Enter your text here π") | |
if text: | |
out = TextClassifier.bertPipe(text) | |
st.json(out) |