File size: 238 Bytes
e3d46c8
 
 
 
7e423f7
e3d46c8
 
 
 
1
2
3
4
5
6
7
8
9
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)