Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -8,7 +8,7 @@ bard = Bard(token = uri)
|
|
| 8 |
|
| 9 |
def Chatbot():
|
| 10 |
st.title("Chatbot")
|
| 11 |
-
|
| 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"):
|