YSDAtransformer / app.py
niknikita's picture
123
aff7d75
raw
history blame
388 Bytes
import streamlit as st
from transformers import pipeline
st.markdown("### Hello, world!")
st.markdown("<img width=200px src='https://rozetked.me/images/uploads/dwoilp3BVjlE.jpg'>", unsafe_allow_html=True)
text = st.text_area("TEXT HERE")
pipe = pipeline("ner", "Davlan/distilbert-base-multilingual-cased-ner-hrl")
raw_predictions = pipe(text)
st.markdown(f"IT'S MEEE! HELLO FRIEND")