5Grains commited on
Commit
8167ea2
·
1 Parent(s): 34fda67

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -37,7 +37,7 @@ def get_json_file(json_docs):
37
  f.write(json_docs.getvalue())
38
  json_loader = JSONLoader(
39
  file_path=temp_filepath,
40
- jq_schema='.users[].phoneNumber',
41
  text_content=False)
42
  json_doc = json_loader.load()
43
  return json_doc
 
37
  f.write(json_docs.getvalue())
38
  json_loader = JSONLoader(
39
  file_path=temp_filepath,
40
+ jq_schema='.messages[].content',
41
  text_content=False)
42
  json_doc = json_loader.load()
43
  return json_doc