Update app.py
Browse files
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 |
-
|
|
|
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
|