Chris4K commited on
Commit
a9539f6
·
verified ·
1 Parent(s): 377076c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ with st.chat_message("assistant"):
96
  # Main chat loop
97
  while True:
98
  # Input field for the user's message
99
- user_message = st.text_input("User:", "")
100
 
101
  # Check if the user wants to end the conversation
102
  if user_message.lower() in ["bye", "goodbye", "exit"]:
 
96
  # Main chat loop
97
  while True:
98
  # Input field for the user's message
99
+ user_message = st.text_input("User:", key="user_input")
100
 
101
  # Check if the user wants to end the conversation
102
  if user_message.lower() in ["bye", "goodbye", "exit"]: