captain-awesome commited on
Commit
1572555
1 Parent(s): edb84ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -6
app.py CHANGED
@@ -9,13 +9,15 @@ with st.sidebar:
9
  website_url = st.text_input("Website URL")
10
  openai_apikey = st.text_input("Enter your OpenAI API key")
11
 
12
- st.chat_input("Type your message here...")
 
 
13
 
14
- with st.chat_message("AI"):
15
- st.write("Hello, how can I help you?")
16
-
17
- with st.chat_message("AI"):
18
- st.write("No")
19
 
20
 
21
 
 
9
  website_url = st.text_input("Website URL")
10
  openai_apikey = st.text_input("Enter your OpenAI API key")
11
 
12
+ user_query = st.chat_input("Type your message here...")
13
+ if user_query is not None and user_query !="":
14
+
15
 
16
+ with st.chat_message("Human"):
17
+ st.write(user_query)
18
+
19
+ with st.chat_message("AI"):
20
+ st.write("No")
21
 
22
 
23