Spaces:
Sleeping
Sleeping
HonestAnnie
commited on
Commit
•
ff486ce
1
Parent(s):
b41c2a6
sdf
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ def get_embeddings(text, task):
|
|
19 |
|
20 |
|
21 |
# Initialize a persistent Chroma client and retrieve collection
|
22 |
-
client = chromadb.PersistentClient(path="
|
23 |
collection = client.get_collection(name="phil_de")
|
24 |
|
25 |
authors_list = ["Ludwig Wittgenstein", "Sigmund Freud", "Marcus Aurelius", "Friedrich Nietzsche", "Epiktet", "Ernst Jünger", "Georg Christoph Lichtenberg", "Balthasar Gracian", "Hannah Arendt", "Erich Fromm", "Albert Camus"]
|
|
|
19 |
|
20 |
|
21 |
# Initialize a persistent Chroma client and retrieve collection
|
22 |
+
client = chromadb.PersistentClient(path="./chroma")
|
23 |
collection = client.get_collection(name="phil_de")
|
24 |
|
25 |
authors_list = ["Ludwig Wittgenstein", "Sigmund Freud", "Marcus Aurelius", "Friedrich Nietzsche", "Epiktet", "Ernst Jünger", "Georg Christoph Lichtenberg", "Balthasar Gracian", "Hannah Arendt", "Erich Fromm", "Albert Camus"]
|