Spaces:
Sleeping
Sleeping
LordFarquaad42
commited on
Commit
•
672b954
1
Parent(s):
46c68c6
changed DB to new one
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from sentence_transformers import SentenceTransformer
|
|
5 |
from openai import OpenAI
|
6 |
|
7 |
# CONSTANTS
|
8 |
-
client = chromadb.PersistentClient(path="./
|
9 |
MODEL_NAME: str = "mixedbread-ai/mxbai-embed-large-v1" # ~ 0.5 gb
|
10 |
COLLECTION_NAME: str = "scheme"
|
11 |
EMBEDDING_FUNC = embedding_functions.SentenceTransformerEmbeddingFunction(model_name=MODEL_NAME)
|
|
|
5 |
from openai import OpenAI
|
6 |
|
7 |
# CONSTANTS
|
8 |
+
client = chromadb.PersistentClient(path="./chromadb_linux/")
|
9 |
MODEL_NAME: str = "mixedbread-ai/mxbai-embed-large-v1" # ~ 0.5 gb
|
10 |
COLLECTION_NAME: str = "scheme"
|
11 |
EMBEDDING_FUNC = embedding_functions.SentenceTransformerEmbeddingFunction(model_name=MODEL_NAME)
|