sgt444pepper commited on
Commit
426c844
·
verified ·
1 Parent(s): c837371

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -129,7 +129,7 @@ iface = gr.ChatInterface(fn=chatbot_interface, type="messages")
129
 
130
  if __name__ == "__main__":
131
  file_paths = ["Company_eng.txt", "base_eng.txt"]
132
- documents = load_documents_with_chunking(file_paths)
133
 
134
  indexer = Retriver(documents, tokenizer, model)
135
  reranker = Reranker(reranker_model)
 
129
 
130
  if __name__ == "__main__":
131
  file_paths = ["Company_eng.txt", "base_eng.txt"]
132
+ documents = load_documents(file_paths)
133
 
134
  indexer = Retriver(documents, tokenizer, model)
135
  reranker = Reranker(reranker_model)