tony346 commited on
Commit
135cc46
1 Parent(s): 6ebd28d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -73,7 +73,8 @@ def get_json_file(docs):
73
  temp_file.write(docs.getvalue())
74
  temp_file.seek(0)
75
  json_loader = JSONLoader(temp_file.name,
76
- jq_schema = '.messages[].content')
 
77
  json_doc = json_loader.load()
78
 
79
  return json_doc
 
73
  temp_file.write(docs.getvalue())
74
  temp_file.seek(0)
75
  json_loader = JSONLoader(temp_file.name,
76
+ jq_schema = '.messages[].content',
77
+ text_content= False)
78
  json_doc = json_loader.load()
79
 
80
  return json_doc