Spaces:
Sleeping
Sleeping
Galatea007
commited on
Commit
•
5545e81
1
Parent(s):
a659d8f
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ HF_TOKEN = os.environ["HF_TOKEN"]
|
|
47 |
"""
|
48 |
### 1. CREATE TEXT LOADER AND LOAD DOCUMENTS
|
49 |
### NOTE: PAY ATTENTION TO THE PATH THEY ARE IN.
|
50 |
-
text_loader = TextLoader("
|
51 |
documents = text_loader.load()
|
52 |
|
53 |
### 2. CREATE TEXT SPLITTER AND SPLIT DOCUMENTS
|
|
|
47 |
"""
|
48 |
### 1. CREATE TEXT LOADER AND LOAD DOCUMENTS
|
49 |
### NOTE: PAY ATTENTION TO THE PATH THEY ARE IN.
|
50 |
+
text_loader = TextLoader("paul_graham_essays.txt")
|
51 |
documents = text_loader.load()
|
52 |
|
53 |
### 2. CREATE TEXT SPLITTER AND SPLIT DOCUMENTS
|