tony346 commited on
Commit
0fbdb9f
1 Parent(s): 1c44954

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -48,7 +48,8 @@ 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
  json_doc = json_loader.load()
53
  print('json_doc = ',json_doc)
54
  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='.',
52
+ text_content=False)
53
  json_doc = json_loader.load()
54
  print('json_doc = ',json_doc)
55
  return json_doc