From 629c6e903669eae8dcc2a2c2ed923f1502d589fa Mon Sep 17 00:00:00 2001 From: LUIS NOVO Date: Fri, 1 Nov 2024 18:34:57 -0300 Subject: [PATCH] fix config cache --- pages/3_🔍_Search.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pages/3_🔍_Search.py b/pages/3_🔍_Search.py index 3d6977c..cdfa4fc 100644 --- a/pages/3_🔍_Search.py +++ b/pages/3_🔍_Search.py @@ -1,6 +1,6 @@ import streamlit as st -from open_notebook.config import EMBEDDING_MODEL +from open_notebook.config import load_default_models from open_notebook.domain.notebook import text_search, vector_search from stream_app.note import note_list_item from stream_app.source import source_list_item @@ -11,6 +11,8 @@ st.set_page_config( ) version_sidebar() +DEFAULT_MODELS, EMBEDDING_MODEL, SPEECH_TO_TEXT_MODEL = load_default_models() + # search_tab, ask_tab = st.tabs(["Search", "Ask"]) # notebooks = Notebook.get_all()