Daoneeee commited on
Commit
da8893e
·
1 Parent(s): fb01e89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -58,10 +58,8 @@ def get_json_file(json_docs):
58
  f.write(json_docs.getvalue())
59
 
60
  # JSONLoader 초기화 시 jq_schema 지정
61
- jq_schema = {} # JSONQuery 스키마, 필요에 따라 적절한 스키마를 지정해야 합니다.
62
- # JQ 스키마를 JSON 문자열로 변환
63
- jq_schema_str = json.dumps(jq_schema)
64
- json_loader = JSONLoader(temp_filepath, jq_schema=jq_schema_str)
65
  json_doc = json_loader.load()
66
  return json_doc
67
 
 
58
  f.write(json_docs.getvalue())
59
 
60
  # JSONLoader 초기화 시 jq_schema 지정
61
+ jq_schema = '.'
62
+ json_loader = JSONLoader(temp_filepath, jq_schema=jq_schema)
 
 
63
  json_doc = json_loader.load()
64
  return json_doc
65