Spaces:
Sleeping
Sleeping
Commit
·
03abd5a
1
Parent(s):
75eb0a9
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def get_json_file(json_docs):
|
|
50 |
with open(temp_filepath, "wb") as f:
|
51 |
f.write(json_docs.getvalue())
|
52 |
json_loader = JSONLoader(file_path = temp_filepath,
|
53 |
-
jq_schema =
|
54 |
text_content=False)
|
55 |
json_doc = json_loader.load()
|
56 |
return json_doc
|
|
|
50 |
with open(temp_filepath, "wb") as f:
|
51 |
f.write(json_docs.getvalue())
|
52 |
json_loader = JSONLoader(file_path = temp_filepath,
|
53 |
+
jq_schema = '.messages[].content',
|
54 |
text_content=False)
|
55 |
json_doc = json_loader.load()
|
56 |
return json_doc
|