push from ~/hf_repos/AIE3-Demo
Browse files- .gitignore +2 -1
- 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("./
|
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
|