Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +0 -1
src/streamlit_app.py
CHANGED
|
@@ -47,7 +47,6 @@ def render_sidebar():
|
|
| 47 |
config = {'configurable': {'thread_id': new_id}}
|
| 48 |
workflow.update_state(config, {"messages": [system]})
|
| 49 |
st.session_state.chat_dict[new_id] = "New Chat"
|
| 50 |
-
st.experimental_rerun()
|
| 51 |
for chat_id in st.session_state.chats:
|
| 52 |
if st.button(st.session_state.chat_dict.get(chat_id, "New Chat"), key=chat_id):
|
| 53 |
st.session_state.current_chat_id = chat_id
|
|
|
|
| 47 |
config = {'configurable': {'thread_id': new_id}}
|
| 48 |
workflow.update_state(config, {"messages": [system]})
|
| 49 |
st.session_state.chat_dict[new_id] = "New Chat"
|
|
|
|
| 50 |
for chat_id in st.session_state.chats:
|
| 51 |
if st.button(st.session_state.chat_dict.get(chat_id, "New Chat"), key=chat_id):
|
| 52 |
st.session_state.current_chat_id = chat_id
|