Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
update with correct database
Browse files
src/application/views/inc_page.py
CHANGED
@@ -40,7 +40,7 @@ def load_template() -> str:
|
|
40 |
|
41 |
@st.cache_resource
|
42 |
def load_inc_pipeline(template: str) -> tuple[QdrantDocumentStore, RAGPipeline]:
|
43 |
-
inc_index = get_index(index="
|
44 |
inc_rag = RAGPipeline(document_store=inc_index, top_k=7, template=template)
|
45 |
return inc_index, inc_rag
|
46 |
|
|
|
40 |
|
41 |
@st.cache_resource
|
42 |
def load_inc_pipeline(template: str) -> tuple[QdrantDocumentStore, RAGPipeline]:
|
43 |
+
inc_index = get_index(index="inc_data_update_2")
|
44 |
inc_rag = RAGPipeline(document_store=inc_index, top_k=7, template=template)
|
45 |
return inc_index, inc_rag
|
46 |
|