gamingflexer commited on
Commit
eb08878
·
1 Parent(s): d9b1bf6
Files changed (1) hide show
  1. src/app.py +1 -1
src/app.py CHANGED
@@ -13,7 +13,7 @@ from config import OPENAI_API_KEY
13
  emmbedding_model = "text-embedding-3-large"
14
  openai_ef = embedding_functions.OpenAIEmbeddingFunction(model_name=emmbedding_model,api_key=OPENAI_API_KEY)
15
  if deploy:
16
- chroma_client = chromadb.HttpClient(host='localhost', port=8000)
17
  else:
18
  chroma_client = chromadb.PersistentClient(path="/home/ubuntu/research/data/emeddeings")
19
 
 
13
  emmbedding_model = "text-embedding-3-large"
14
  openai_ef = embedding_functions.OpenAIEmbeddingFunction(model_name=emmbedding_model,api_key=OPENAI_API_KEY)
15
  if deploy:
16
+ chroma_client = chromadb.PersistentClient(path="./data/emeddeings")
17
  else:
18
  chroma_client = chromadb.PersistentClient(path="/home/ubuntu/research/data/emeddeings")
19