Spaces:
Sleeping
Sleeping
File size: 365 Bytes
dfd3736 c7bef57 dfd3736 c7bef57 |
1 2 3 4 5 6 7 8 9 10 11 |
# Use a pipeline as a high-level helper
from transformers import pipeline
import streamlit as st
pipe = pipeline("ner", model="SIRIS-Lab/affilgood-NER-multilingual", aggregation_strategy="simple")
st.title("Basic NER model testing")
affiliation_address = st.text_input("Enter address")
if st.button("Print"):
st.write(f"Result: {pipe(affiliation_address)}!")
|