vsj0702 commited on
Commit
18fe995
·
verified ·
1 Parent(s): 777bfb9

fixing error

Browse files
Files changed (1) hide show
  1. chatbot.py +2 -1
chatbot.py CHANGED
@@ -97,7 +97,8 @@ def render_chatbot(code: str, output: str, error: str):
97
  # Input area
98
  col1, col2 = st.columns([4, 1])
99
  with col1:
100
- user_input = st.text_input(placeholder="Type your question here...")
 
101
  with col2:
102
  send_clicked = st.button("🚀") # Button to send the message
103
 
 
97
  # Input area
98
  col1, col2 = st.columns([4, 1])
99
  with col1:
100
+ user_input = st.text_input(key="chat_input",
101
+ placeholder="Type your question here...")
102
  with col2:
103
  send_clicked = st.button("🚀") # Button to send the message
104