Update components/collection_manager.py
Browse files
components/collection_manager.py
CHANGED
|
@@ -10,7 +10,7 @@ from utils.database import (
|
|
| 10 |
search_documents,
|
| 11 |
get_collection_documents,
|
| 12 |
)
|
| 13 |
-
|
| 14 |
def show_collection_creation_dialog():
|
| 15 |
"""Show dialog for creating a new collection."""
|
| 16 |
with st.form("create_collection"):
|
|
|
|
| 10 |
search_documents,
|
| 11 |
get_collection_documents,
|
| 12 |
)
|
| 13 |
+
st.session_state.reinitialize_chat = True
|
| 14 |
def show_collection_creation_dialog():
|
| 15 |
"""Show dialog for creating a new collection."""
|
| 16 |
with st.form("create_collection"):
|