Spaces:
Paused
Paused
themissingCRAM
commited on
Commit
·
8466e43
1
Parent(s):
0dcf89a
new dataset
Browse files- .gitignore +0 -1
- app.py +1 -1
- chroma_data/dummy.old +1 -0
.gitignore
CHANGED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
chroma_data/*
|
|
|
|
|
|
app.py
CHANGED
|
@@ -54,7 +54,7 @@ class RetrieverTool(Tool):
|
|
| 54 |
|
| 55 |
if not os.path.isdir(chroma_data_path):
|
| 56 |
print("in if clause")
|
| 57 |
-
os.makedirs(chroma_data_path, )
|
| 58 |
collection_name = "demo_docs"
|
| 59 |
embedding_func = embedding_functions.DefaultEmbeddingFunction()
|
| 60 |
client = chromadb.PersistentClient(path=chroma_data_path)
|
|
|
|
| 54 |
|
| 55 |
if not os.path.isdir(chroma_data_path):
|
| 56 |
print("in if clause")
|
| 57 |
+
os.makedirs(chroma_data_path, exist_ok=True)
|
| 58 |
collection_name = "demo_docs"
|
| 59 |
embedding_func = embedding_functions.DefaultEmbeddingFunction()
|
| 60 |
client = chromadb.PersistentClient(path=chroma_data_path)
|
chroma_data/dummy.old
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
sdfasdf
|