nisargvp commited on
Commit
4c83d48
1 Parent(s): f0f212d

push from ~/hf_repos/AIE3-Demo

Browse files
Files changed (2) hide show
  1. .gitignore +2 -1
  2. app.py +1 -1
.gitignore CHANGED
@@ -3,4 +3,5 @@ __pycache__/
3
  .chainlit
4
  *.faiss
5
  *.pkl
6
- .files
 
 
3
  .chainlit
4
  *.faiss
5
  *.pkl
6
+ .files
7
+ logs/
app.py CHANGED
@@ -39,7 +39,7 @@ HF_TOKEN = os.environ["HF_TOKEN"]
39
  """
40
  ### 1. CREATE TEXT LOADER AND LOAD DOCUMENTS
41
  ### NOTE: PAY ATTENTION TO THE PATH THEY ARE IN.
42
- text_loader = TextLoader("./paul-graham-to-kindle/paul_graham_essays.txt")
43
  documents = text_loader.load()
44
 
45
  ### 2. CREATE TEXT SPLITTER AND SPLIT DOCUMENTS
 
39
  """
40
  ### 1. CREATE TEXT LOADER AND LOAD DOCUMENTS
41
  ### NOTE: PAY ATTENTION TO THE PATH THEY ARE IN.
42
+ text_loader = TextLoader("./data/paul_graham_essays.txt")
43
  documents = text_loader.load()
44
 
45
  ### 2. CREATE TEXT SPLITTER AND SPLIT DOCUMENTS