This chatbot is really simple, but can open-sourced. Please suggest
Change these lines
def get_user_input(): text = st.text_input("Ask: ", key = "input") return text
user_input = get_user_input() To this -->
user_input = st.text_input("Enter your question:")if user_input: resp = get_response(user_input)
Change these lines Create a function for taking user input def get_user_input(): text = st.text_input("Ask: ", key = "input") return text user_input = get_user_input() To this --> user_input = st.text_input("Enter your question:")if user_input: resp = get_response(user_input)
· Sign up or log in to comment