wnsdud030415 commited on
Commit
e69f1e0
·
1 Parent(s): 69d3b12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def get_json_file(docs):
56
  with open(temp_filepath, "wb") as f:
57
  f.write(docs.getvalue())
58
  f.seek(0)
59
- json_loader = JSONLoader(temp_filepath.name,
60
  jq_schema='.messages[].content',
61
  text_content=False)
62
  json_doc = json_loader.load()
 
56
  with open(temp_filepath, "wb") as f:
57
  f.write(docs.getvalue())
58
  f.seek(0)
59
+ json_loader = JSONLoader(f.name,
60
  jq_schema='.messages[].content',
61
  text_content=False)
62
  json_doc = json_loader.load()