Wajahat698 commited on
Commit
5b9e295
·
verified ·
1 Parent(s): ab4327f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ except Exception as e:
44
  # Load knowledge base
45
  def load_knowledge_base():
46
  try:
47
- loader = TextLoader("./time_to_rethink_trust_book.md")
48
  documents = loader.load()
49
  text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
50
  docs = text_splitter.split_documents(documents)
 
44
  # Load knowledge base
45
  def load_knowledge_base():
46
  try:
47
+ loader = TextLoader(r"time_to_rethink_trust_book.md")
48
  documents = loader.load()
49
  text_splitter = CharacterTextSplitter(chunk_size=1000, chunk_overlap=0)
50
  docs = text_splitter.split_documents(documents)