Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -40,9 +40,9 @@ scheduler = CommitScheduler(
|
|
40 |
# We need to create the local vectorstore collection once using load_chunks
|
41 |
# vectorestore colection are stored on persistent storage so this needs to be run only once
|
42 |
# hence, comment out line below when creating for first time
|
43 |
-
vectorstores = load_new_chunks()
|
44 |
# once the vectore embeddings are created we will use qdrant client to access these
|
45 |
-
|
46 |
|
47 |
#####---------------------CHAT-----------------------------------------------------
|
48 |
def start_chat(query,history):
|
|
|
40 |
# We need to create the local vectorstore collection once using load_chunks
|
41 |
# vectorestore colection are stored on persistent storage so this needs to be run only once
|
42 |
# hence, comment out line below when creating for first time
|
43 |
+
#vectorstores = load_new_chunks()
|
44 |
# once the vectore embeddings are created we will use qdrant client to access these
|
45 |
+
vectorstores = get_local_qdrant()
|
46 |
|
47 |
#####---------------------CHAT-----------------------------------------------------
|
48 |
def start_chat(query,history):
|