dmc2334 commited on
Commit
953140c
β€’
1 Parent(s): 72c2e49

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -53,7 +53,7 @@ def get_json_file(json_docs):
53
  temp_json_filepath = os.path.join(temp_json_dir.name, json_docs.name)
54
  with open(temp_json_filepath, "wb") as f: # μž„μ‹œ νŒŒμΌμ„ λ°”μ΄λ„ˆλ¦¬ μ“°κΈ° λͺ¨λ“œλ‘œ μ—½λ‹ˆλ‹€.
55
  f.write(json_docs.getvalue())
56
- json_loader = JSONLoader(temp_json_filepath,text_content=False)
57
  json_doc = json_loader.load()
58
  return json_doc
59
 
 
53
  temp_json_filepath = os.path.join(temp_json_dir.name, json_docs.name)
54
  with open(temp_json_filepath, "wb") as f: # μž„μ‹œ νŒŒμΌμ„ λ°”μ΄λ„ˆλ¦¬ μ“°κΈ° λͺ¨λ“œλ‘œ μ—½λ‹ˆλ‹€.
55
  f.write(json_docs.getvalue())
56
+ json_loader = JSONLoader(temp_json_filepath,jq_schema='.',text_content=False)
57
  json_doc = json_loader.load()
58
  return json_doc
59