import streamlit as st | |
def chatbot(input_text): | |
return input_text | |
st.title("Chatbot App") | |
user_input = st.text_input("Enter your message:") | |
if st.button("Send"): | |
if user_input: | |
bot_response = chatbot(user_input) | |
st.text("Bot Response:") | |
st.write(bot_response) | |
else: | |
st.warning("Please enter a message.") |