5Grains commited on
Commit
6fedadf
·
1 Parent(s): 8ed0e7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,9 +36,9 @@ def get_json_file(json_docs):
36
  with open(temp_filepath, "wb") as f:
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
44
 
 
36
  with open(temp_filepath, "wb") as f:
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
44