kaleidoskop-hug commited on
Commit
ca83e2e
·
verified ·
1 Parent(s): f9207df

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)