tony346 commited on
Commit
547c4af
1 Parent(s): 4355599

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -48,8 +48,9 @@ def get_json_file(docs):
48
  with open(temp_filepath, "wb") as f:
49
  f.write(docs.getvalue())
50
  json_loader = JSONLoader(temp_filepath,
51
- jq_schema='.',
52
- text_content=False)
 
53
  json_doc = json_loader.load()
54
  # print('json_doc = ',json_doc)
55
  return json_doc
 
48
  with open(temp_filepath, "wb") as f:
49
  f.write(docs.getvalue())
50
  json_loader = JSONLoader(temp_filepath,
51
+ jq_schema='.scans[].relationships',
52
+ text_content=False)
53
+
54
  json_doc = json_loader.load()
55
  # print('json_doc = ',json_doc)
56
  return json_doc