Spaces:
Sleeping
Sleeping
Commit
·
a10437e
1
Parent(s):
bd3f5b0
convert string to lower
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ if prompt := st.chat_input("What is up?"):
|
|
54 |
# Display assistant response in chat message container
|
55 |
with st.chat_message("assistant"):
|
56 |
# with st.spinner("Thinking..."):
|
57 |
-
if prompt in ["hi", "hello", "hey", "/start"]:
|
58 |
data = library.startMessage()
|
59 |
elif st.session_state['app_state'] == 'welcome' :
|
60 |
data = library.login_or_register(prompt)
|
|
|
54 |
# Display assistant response in chat message container
|
55 |
with st.chat_message("assistant"):
|
56 |
# with st.spinner("Thinking..."):
|
57 |
+
if prompt.lower() in ["hi", "hello", "hey", "/start"]:
|
58 |
data = library.startMessage()
|
59 |
elif st.session_state['app_state'] == 'welcome' :
|
60 |
data = library.login_or_register(prompt)
|