kaleidoskop-hug
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -169,6 +169,6 @@ if prompt := st.chat_input(f"Hi I'm {selected_model}, ask me a question"):
|
|
169 |
|
170 |
st.session_state.messages.append({"role": "assistant", "content": response})
|
171 |
|
172 |
-
if len(session_state.messages)>0:
|
173 |
st.button("retry", key="retryButton", on_click=retry_click)
|
174 |
st.button("remove", key="removeButton", on_click=remove_click)
|
|
|
169 |
|
170 |
st.session_state.messages.append({"role": "assistant", "content": response})
|
171 |
|
172 |
+
if len(st.session_state.messages)>0:
|
173 |
st.button("retry", key="retryButton", on_click=retry_click)
|
174 |
st.button("remove", key="removeButton", on_click=remove_click)
|