Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 =
|
| 62 |
-
|
| 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 |
|