RuudVelo's picture
Update app.py
7e423f7
raw
history blame
238 Bytes
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)