import streamlit as st | |
from transformers import pipeline | |
pipe = pipeline(model="RuudVelo/dutch_news_classifier_bert_finetuned") | |
text = st.text_area('Please type/copy/paste the Dutch article') | |
if text: | |
out = pipe(text) | |
st.json(out) |
import streamlit as st | |
from transformers import pipeline | |
pipe = pipeline(model="RuudVelo/dutch_news_classifier_bert_finetuned") | |
text = st.text_area('Please type/copy/paste the Dutch article') | |
if text: | |
out = pipe(text) | |
st.json(out) |