Spaces:
Runtime error
Runtime error
JinHyeong99 commited on
Commit ยท
d09d143
1
Parent(s): 8b8f871
app.py
CHANGED
|
@@ -54,7 +54,7 @@ def get_json_file(json_docs):
|
|
| 54 |
f.write(json_docs.getvalue()) # Json ๋ฌธ์์ ๋ด์ฉ์ ์์ ํ์ผ์ ์๋๋ค.
|
| 55 |
json_loader = JSONLoader(
|
| 56 |
file_path = temp_filepath,
|
| 57 |
-
jq_schema='.
|
| 58 |
text_content=False
|
| 59 |
)
|
| 60 |
json_doc = json_loader.load()
|
|
|
|
| 54 |
f.write(json_docs.getvalue()) # Json ๋ฌธ์์ ๋ด์ฉ์ ์์ ํ์ผ์ ์๋๋ค.
|
| 55 |
json_loader = JSONLoader(
|
| 56 |
file_path = temp_filepath,
|
| 57 |
+
jq_schema='.{}.content', # ๋ฐฐ์ด ๋ด ๊ฐ์ฒด์ ๋ชจ๋ ๊ฐ์ ์ถ์ถ
|
| 58 |
text_content=False
|
| 59 |
)
|
| 60 |
json_doc = json_loader.load()
|