akman12914 commited on
Commit
4f7b525
·
1 Parent(s): aadcb71

error revise

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ def get_json_file(docs):
58
  with open(temp_filepath, 'wb') as f:
59
  f.write(docs.getvalue())
60
  json_loader = JSONLoader(file_path=temp_filepath,
61
- jq_schema='.messages[].userId',
62
  text_content=False)
63
  data = json_loader.load()
64
  return data
 
58
  with open(temp_filepath, 'wb') as f:
59
  f.write(docs.getvalue())
60
  json_loader = JSONLoader(file_path=temp_filepath,
61
+ jq_schema='.messages[].content',
62
  text_content=False)
63
  data = json_loader.load()
64
  return data