Spaces:
Build error
Build error
import streamlit as st | |
st.markdown("""### TL;DR: give me the keywords! | |
Here you can get the keywords and topic of the article based on it's title or abstract.""") | |
st.markdown("<p style=\"text-align:center\"><img width=200px src='https://c.tenor.com/IKt-6tAk9CUAAAAd/thats-a-lot-of-words-lots-of-words.gif'></p>", unsafe_allow_html=True) | |
from transformers import pipeline | |
pipe = pipeline("ner", "Davlan/distilbert-base-multilingual-cased-ner-hrl") | |
#st.markdown("#### Title:") | |
title = st.text_area("Title:") | |
abstract = st.text_area("abstract:") | |
#st.markdown(f"{pipe(text)}") | |