wayne0019 commited on
Commit
fb29606
1 Parent(s): ba47921

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +15 -0
app.py ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import streamlit as st
2
+
3
+ def chatbot(input_text):
4
+ return input_text
5
+
6
+ st.title("Chatbot App")
7
+
8
+ user_input = st.text_input("Enter your message:")
9
+ if st.button("Send"):
10
+ if user_input:
11
+ bot_response = chatbot(user_input)
12
+ st.text("Bot Response:")
13
+ st.write(bot_response)
14
+ else:
15
+ st.warning("Please enter a message.")