Spaces:
Sleeping
Sleeping
Update cura/vector_store.py
Browse files- cura/vector_store.py +1 -1
cura/vector_store.py
CHANGED
@@ -56,7 +56,7 @@ def index_vector_store_chroma(collection: Collection, files: list):
|
|
56 |
collection.add(ids=ids, documents=files[0])
|
57 |
print("Data stored successfully!")
|
58 |
|
59 |
-
return
|
60 |
except:
|
61 |
print("Error storing data in ChromaDB")
|
62 |
return False
|
|
|
56 |
collection.add(ids=ids, documents=files[0])
|
57 |
print("Data stored successfully!")
|
58 |
|
59 |
+
return collection
|
60 |
except:
|
61 |
print("Error storing data in ChromaDB")
|
62 |
return False
|