File size: 422 Bytes
13c98a6
 
 
 
 
 
 
 
 
 
 
 
04c1498
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import streamlit as st

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")

from transformers import pipeline
pipe = pipeline("ner", "Davlan/distilbert-base-multilingual-cased-ner-hrl")
raw_predictions = pipe(text)

st.markdown(f"{raw_predictions}")
st.markdown(f"IT'S MEEE! HELLO FRIEND")