Spaces:
Runtime error
Runtime error
Commit
·
e8854c7
1
Parent(s):
f5fc28a
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ from langchain.document_loaders import TextLoader
|
|
3 |
g=open('test.txt')
|
4 |
g1=g.read()
|
5 |
loader = TextLoader('test.txt')
|
|
|
6 |
def answer(query):
|
7 |
out=g1
|
8 |
return out
|
|
|
3 |
g=open('test.txt')
|
4 |
g1=g.read()
|
5 |
loader = TextLoader('test.txt')
|
6 |
+
documents = loader.load()
|
7 |
def answer(query):
|
8 |
out=g1
|
9 |
return out
|