Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ with gr.Blocks() as demo:
|
|
42 |
model_kwargs = model_kwargs,
|
43 |
encode_kwargs = {'normalize_embeddings':True}
|
44 |
)
|
45 |
-
persist_directory = r"
|
46 |
vectordb = Chroma(persist_directory=persist_directory, embedding_function=embedding)
|
47 |
return similarity_search2(vectordb, query, k, unique)
|
48 |
|
|
|
42 |
model_kwargs = model_kwargs,
|
43 |
encode_kwargs = {'normalize_embeddings':True}
|
44 |
)
|
45 |
+
persist_directory = r"VectorDB\db_book_mmt"
|
46 |
vectordb = Chroma(persist_directory=persist_directory, embedding_function=embedding)
|
47 |
return similarity_search2(vectordb, query, k, unique)
|
48 |
|