annikwag commited on
Commit
89aa59d
·
verified ·
1 Parent(s): c9e65e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -30,7 +30,7 @@ chunks = process_giz_worldwide()
30
  temp_doc = create_documents(chunks,'chunks')
31
  ##### Embed and store docs, check if collection exist then you need to update the collection
32
  collection_name = "giz_worldwide"
33
- hybrid_embed_chunks(docs= temp_doc, collection_name = collection_name)
34
 
35
  ################### Hybrid Search ######################################################
36
  client = get_client()
 
30
  temp_doc = create_documents(chunks,'chunks')
31
  ##### Embed and store docs, check if collection exist then you need to update the collection
32
  collection_name = "giz_worldwide"
33
+ hybrid_embed_chunks(docs=temp_doc, collection_name=collection_name, del_if_exists=True)
34
 
35
  ################### Hybrid Search ######################################################
36
  client = get_client()