Chatbot creation 1
Browse files
app.py
CHANGED
@@ -34,5 +34,4 @@ if submit_button and user_input:
|
|
34 |
# Obtener respuesta del bot desde utils.py
|
35 |
bot_response = get_bot_response(user_input)
|
36 |
st.session_state.chat_history.append({"role": "bot", "message": bot_response})
|
37 |
-
#
|
38 |
-
st.experimental_rerun()
|
|
|
34 |
# Obtener respuesta del bot desde utils.py
|
35 |
bot_response = get_bot_response(user_input)
|
36 |
st.session_state.chat_history.append({"role": "bot", "message": bot_response})
|
37 |
+
# Al no usar experimental_rerun, el script se volverá a ejecutar automáticamente en la siguiente interacción
|
|