tsrivallabh commited on
Commit
6c48052
·
verified ·
1 Parent(s): 7bc82c0

Synced repo using 'sync_with_huggingface' Github Action

Browse files
Files changed (1) hide show
  1. fact_checker.py +1 -1
fact_checker.py CHANGED
@@ -47,7 +47,7 @@ def robust_json_extractor(response_content):
47
 
48
  class FactChecker:
49
  def __init__(self, chroma_path, collection_name, groq_client):
50
- self.client = chromadb.PersistentClient(path=chroma_path)
51
  self.collection = self.client.get_collection(
52
  name=collection_name,
53
  embedding_function=embedding_functions.SentenceTransformerEmbeddingFunction(
 
47
 
48
  class FactChecker:
49
  def __init__(self, chroma_path, collection_name, groq_client):
50
+ self.client = chromadb.Client()
51
  self.collection = self.client.get_collection(
52
  name=collection_name,
53
  embedding_function=embedding_functions.SentenceTransformerEmbeddingFunction(