kimteawan commited on
Commit
275b9e6
ยท
1 Parent(s): e98fb37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 = '.info[].content'
58
  ) # JSONLoader๋ฅผ ์‚ฌ์šฉํ•ด JSON ํŒŒ์ผ์„ ๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค.
59
  json_content = json_loader.load()
60
  return json_content
 
54
  f.write(json_docs.getvalue()) # JSON ๋ฌธ์„œ์˜ ๋‚ด์šฉ์„ ์ž„์‹œ ํŒŒ์ผ์— ์”๋‹ˆ๋‹ค.
55
  json_loader = JSONLoader(
56
  file_path = temp_filepath,
57
+ jq_schema='.info[].content'
58
  ) # JSONLoader๋ฅผ ์‚ฌ์šฉํ•ด JSON ํŒŒ์ผ์„ ๋กœ๋“œํ•ฉ๋‹ˆ๋‹ค.
59
  json_content = json_loader.load()
60
  return json_content