jungwoo3490 commited on
Commit
9280763
·
1 Parent(s): 3a6e644

edit app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -54,8 +54,8 @@ 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[].info')
58
- json_doc = loader.load()
59
  return json_doc
60
 
61
 
 
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
+ json_loader = JSONLoader(temp_filepath, jq_schema='.worker[].info')
58
+ json_doc = json_loader.load()
59
  return json_doc
60
 
61