Adipta commited on
Commit
7893025
1 Parent(s): 68938e8

Update pdfchatbot.py

Browse files
Files changed (1) hide show
  1. pdfchatbot.py +1 -1
pdfchatbot.py CHANGED
@@ -66,7 +66,7 @@ class PDFChatBot:
66
  """
67
  Load embeddings from Hugging Face and set in the config file.
68
  """
69
- self.embeddings = HuggingFaceEmbeddings(model_name=MODEL_CONFIG.MODEL_EMBEDDINGS, token=os.getenv("HUGGINGFACE_API_TOKEN"))
70
 
71
  def load_vectordb(self):
72
  """
 
66
  """
67
  Load embeddings from Hugging Face and set in the config file.
68
  """
69
+ self.embeddings = HuggingFaceEmbeddings(model_name=MODEL_CONFIG.MODEL_EMBEDDINGS)
70
 
71
  def load_vectordb(self):
72
  """