Ankush05 commited on
Commit
ef0cb04
1 Parent(s): c814baf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ bard = Bard(token = uri)
8
 
9
  def Chatbot():
10
  st.title("Chatbot")
11
- query := st.chat_input("enter your message")
12
  umsg = bard.get_answer(query)
13
 
14
  with st.chat_message("Assistant"):
 
8
 
9
  def Chatbot():
10
  st.title("Chatbot")
11
+ if query := st.chat_input("enter your message"):
12
  umsg = bard.get_answer(query)
13
 
14
  with st.chat_message("Assistant"):