Suggest the changes / modifications / updations

#1
by thisisdev - opened

This chatbot is really simple, but can open-sourced. Please suggest

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)

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)

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment