Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -111,7 +111,8 @@ def get_context(vectorstore,query):
|
|
111 |
|
112 |
return context_retrieved
|
113 |
#chunks = get_chunks()
|
114 |
-
vectorstores = get_local_qdrant()
|
|
|
115 |
button=st.button("search")
|
116 |
results= get_context(vectorstores, f"find the relvant paragraphs for: {var}")
|
117 |
|
|
|
111 |
|
112 |
return context_retrieved
|
113 |
#chunks = get_chunks()
|
114 |
+
vectorstores = get_local_qdrant()
|
115 |
+
vectorstore = vectorstores['all']
|
116 |
button=st.button("search")
|
117 |
results= get_context(vectorstores, f"find the relvant paragraphs for: {var}")
|
118 |
|