Karin0616
commited on
Commit
·
208ef98
1
Parent(s):
4ab0dae
test
Browse files
app.py
CHANGED
@@ -55,8 +55,8 @@ def get_json_file(docs):
|
|
55 |
f.write(docs.getvalue())
|
56 |
json_loader = JSONLoader(
|
57 |
file_path=temp_filepath,
|
58 |
-
jq_schema='.
|
59 |
-
text_content=
|
60 |
json_doc = json_loader.load()
|
61 |
|
62 |
return json_doc
|
|
|
55 |
f.write(docs.getvalue())
|
56 |
json_loader = JSONLoader(
|
57 |
file_path=temp_filepath,
|
58 |
+
jq_schema='.[]',
|
59 |
+
text_content=True)
|
60 |
json_doc = json_loader.load()
|
61 |
|
62 |
return json_doc
|