thejagstudio commited on
Commit
7e59dd4
·
verified ·
1 Parent(s): c4fde0a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -77,8 +77,9 @@ try:
77
  CHROMA_PATH = "chroma"
78
  custom_embeddings = MyEmbeddingFunction()
79
  db = Chroma(
80
- persist_directory=CHROMA_PATH, embedding_function=custom_embeddings
81
  )
 
82
  except Exception as e:
83
  print("Error in database :",str(e))
84
 
 
77
  CHROMA_PATH = "chroma"
78
  custom_embeddings = MyEmbeddingFunction()
79
  db = Chroma(
80
+ embedding_function=custom_embeddings
81
  )
82
+ #persist_directory=CHROMA_PATH,
83
  except Exception as e:
84
  print("Error in database :",str(e))
85