import streamlit as st st.write('Try to guess a secret word by semantic similarity') word = st.text_input("Input a word") if st.button("Guess"): st.write("Your word ", word)