Spaces:
Sleeping
Sleeping
ogegadavis254
commited on
Commit
•
a598f9f
1
Parent(s):
17ecdc7
Update app.py
Browse files
app.py
CHANGED
@@ -139,8 +139,5 @@ if prompt := st.text_input(f"Hi, I'm {selected_model}, let's chat"):
|
|
139 |
st.session_state.messages.append(("assistant", assistant_response))
|
140 |
|
141 |
# Display chat messages from history
|
142 |
-
|
143 |
-
|
144 |
-
st.text_input("You:", message, disabled=True)
|
145 |
-
elif role == "assistant":
|
146 |
-
st.text_area("Assistant:", message, disabled=True)
|
|
|
139 |
st.session_state.messages.append(("assistant", assistant_response))
|
140 |
|
141 |
# Display chat messages from history
|
142 |
+
# Add assistant response to chat history
|
143 |
+
st.session_state.messages.append(("assistant", assistant_response))
|
|
|
|
|
|