INNER CODE UNIT · Python
model
gagan3012/keytotext · UI/app.py:18
def model(model_name="k2t"):
pipe = pipeline(model_name)
return pipe
def generate(keywords):
nlp = model()
return nlp(keywords)
def display():
st.write('# Keytotext UI')
st.markdown(
'''
*For additional questions and inquiries, please contact **Gagan Bhatia** via [LinkedIn](
https://www.linkedin.com/in/gbhatia30/) or [Github](https://github.com/gagan3012).*
This keyword entry method is called [streamlit-tags]() and it also built by me.
''')