lwfsl / app.py
wayne0019's picture
Create app.py
fb29606 verified
raw
history blame contribute delete
No virus
350 Bytes
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.")