Spaces:
Sleeping
Sleeping
# 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)}!") | |