Update modules/ui.py
Browse files- modules/ui.py +1 -2
modules/ui.py
CHANGED
@@ -428,8 +428,7 @@ def display_chatbot_interface(lang_code):
|
|
428 |
user_input = st.text_input(t['input_placeholder'], key="user_input")
|
429 |
|
430 |
# Bot贸n de env铆o (oculto, se activa con Enter)
|
431 |
-
|
432 |
-
if user_input:
|
433 |
st.session_state.messages.append({"role": "user", "content": user_input})
|
434 |
with chat_container:
|
435 |
for message in st.session_state.messages:
|
|
|
428 |
user_input = st.text_input(t['input_placeholder'], key="user_input")
|
429 |
|
430 |
# Bot贸n de env铆o (oculto, se activa con Enter)
|
431 |
+
if user_input:
|
|
|
432 |
st.session_state.messages.append({"role": "user", "content": user_input})
|
433 |
with chat_container:
|
434 |
for message in st.session_state.messages:
|