Spaces:
Sleeping
Sleeping
Commit
·
5f20e64
1
Parent(s):
cba75c5
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,7 @@ def get_text_file(txt_docs):
|
|
34 |
with open(temp_filepath, "wb") as f:
|
35 |
f.write(txt_docs.getvalue())
|
36 |
txt_loader = TextLoader(temp_filepath)
|
37 |
-
txt_doc =
|
38 |
return tex_doc
|
39 |
|
40 |
def get_csv_file(docs):
|
|
|
34 |
with open(temp_filepath, "wb") as f:
|
35 |
f.write(txt_docs.getvalue())
|
36 |
txt_loader = TextLoader(temp_filepath)
|
37 |
+
txt_doc = txt_loader.load()
|
38 |
return tex_doc
|
39 |
|
40 |
def get_csv_file(docs):
|