jungwoo3490 commited on
Commit
c06ac65
·
1 Parent(s): 830c9df

edit app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def get_json_file(json_docs):
54
  temp_filepath = os.path.join(temp_dir.name, json_docs.name)
55
  with open(temp_filepath, "wb") as f:
56
  f.write(json_docs.getvalue())
57
- loader = JSONLoader(temp_filepath, jq_schema="worker")
58
  json_doc = loader.load()
59
  return json_doc
60
 
 
54
  temp_filepath = os.path.join(temp_dir.name, json_docs.name)
55
  with open(temp_filepath, "wb") as f:
56
  f.write(json_docs.getvalue())
57
+ loader = JSONLoader(temp_filepath, jq_schema=".worker[].info")
58
  json_doc = loader.load()
59
  return json_doc
60