Karin0616 commited on
Commit
208ef98
·
1 Parent(s): 4ab0dae
Files changed (1) hide show
  1. app.py +2 -2
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='.messages[]',
59
- text_content=False)
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