import streamlit as st from streamlit_datalist import stDatalist st.write("runningg") text = stDatalist("Enter text....", ["great", "cool", "neat"]) if st.button("Analyse"): print(text)