sam2ai commited on
Commit
2e237c9
·
verified ·
1 Parent(s): bce6dba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -41,13 +41,14 @@ print("Embedding model loaded.........")
41
 
42
 
43
  # load the vector store
44
- # url="http://localhost:6333"
45
  collection_name = "shopintel100v3"
46
 
47
  vector_store = Qdrant.from_documents(
48
  docs,
49
  embeddings,
50
- location=":memory:",
 
51
  collection_name=collection_name,
52
  prefer_grpc = False
53
  )
 
41
 
42
 
43
  # load the vector store
44
+ url="https://42bc5a86-aaa1-4e0f-96bb-5a77988b0269.us-east4-0.gcp.cloud.qdrant.io"
45
  collection_name = "shopintel100v3"
46
 
47
  vector_store = Qdrant.from_documents(
48
  docs,
49
  embeddings,
50
+ # location=":memory:",
51
+ url=url,
52
  collection_name=collection_name,
53
  prefer_grpc = False
54
  )