Update app.py
Browse files
app.py
CHANGED
@@ -56,7 +56,7 @@ days = st.multiselect("What days are you free?",
|
|
56 |
)
|
57 |
|
58 |
assistant = st.chat_message("assistant")
|
59 |
-
initial_message = "Hello, I am your GPT-powered USC Class Helper! \n How can I assist you today?"
|
60 |
|
61 |
|
62 |
|
@@ -121,7 +121,7 @@ for message in st.session_state.messages:
|
|
121 |
st.markdown(message["content"])
|
122 |
|
123 |
|
124 |
-
if prompt := st.chat_input("
|
125 |
st.session_state.messages.append({"role": "user", "content": prompt})
|
126 |
with st.chat_message("user"):
|
127 |
st.markdown(prompt)
|
|
|
56 |
)
|
57 |
|
58 |
assistant = st.chat_message("assistant")
|
59 |
+
initial_message = "Hello, I am your GPT-powered USC Class Helper! \n How can I assist you today? \n*Note that I work best in semantics, as I primarily search class descriptions:) "
|
60 |
|
61 |
|
62 |
|
|
|
121 |
st.markdown(message["content"])
|
122 |
|
123 |
|
124 |
+
if prompt := st.chat_input("Find me a class to learn about the effect of pharmaceuticals on the brain!"):
|
125 |
st.session_state.messages.append({"role": "user", "content": prompt})
|
126 |
with st.chat_message("user"):
|
127 |
st.markdown(prompt)
|