Spaces:
Starting
on
T4
Starting
on
T4
Update app.py
Browse files
app.py
CHANGED
@@ -436,7 +436,7 @@ if __name__ == '__main__':
|
|
436 |
if 'chat_id' not in st.session_state:
|
437 |
st.session_state.chat_id = st.selectbox(
|
438 |
label='Choose a conversation',
|
439 |
-
options=[
|
440 |
format_func=lambda x: conversations.get(x, 'New Chat'),
|
441 |
placeholder='New Chat',
|
442 |
)
|
|
|
436 |
if 'chat_id' not in st.session_state:
|
437 |
st.session_state.chat_id = st.selectbox(
|
438 |
label='Choose a conversation',
|
439 |
+
options=[None] + list(conversations.keys()),
|
440 |
format_func=lambda x: conversations.get(x, 'New Chat'),
|
441 |
placeholder='New Chat',
|
442 |
)
|