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