Pudding48 commited on
Commit
707a7bc
·
verified ·
1 Parent(s): 7f18ab1

Update qabot.py

Browse files
Files changed (1) hide show
  1. qabot.py +3 -0
qabot.py CHANGED
@@ -24,6 +24,9 @@ model_file = hf_hub_download(
24
  # Vector store location
25
  vector_dp_path = "vectorstores/db_faiss"
26
 
 
 
 
27
  # Load LLM with CTransformers
28
  def load_llm(model_file):
29
  return CTransformers(
 
24
  # Vector store location
25
  vector_dp_path = "vectorstores/db_faiss"
26
 
27
+ from prepare_vector_dp import create_db_from_text
28
+ create_db_from_text()
29
+
30
  # Load LLM with CTransformers
31
  def load_llm(model_file):
32
  return CTransformers(