Hello,
I have created a custom component for Streamlit which is a custom tag function and keywords functions in Streamlit it returns a list and the list can be used as usual.
pip install streamlit-tags
import streamlit as st
from streamlit_tags import st_tags
keywords = st_tags(‘Enter Keyword:’, ‘Press enter to add more’, [‘One’, ‘Two’, ‘Three’])
st.write(keywords)
More details can be found here: GitHub - gagan3012/streamlit-tags: Custom Tag component for streamlit
Please star the repo if you liked it and let’s also connect on Linkedin: https://www.linkedin.com/in/gbhatia30/
Example Usage: https://share.streamlit.io/gagan3012/keytotext/app.py