JinHyeong99 commited on
Commit
3c1e308
Β·
1 Parent(s): 13ddfae
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -51,7 +51,6 @@ def get_json_file(json_docs):
51
  temp_dir = tempfile.TemporaryDirectory() # μž„μ‹œ 디렉토리λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.
52
  temp_filepath = os.path.join(temp_dir.name, json_docs.name) # μž„μ‹œ 파일 경둜λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.
53
  json_loader = JSONLoader(
54
- file_path = temp_filepath,
55
  jq_schema='.messages[]'
56
  )
57
  json_doc = json_loader.load(temp_filepath)
 
51
  temp_dir = tempfile.TemporaryDirectory() # μž„μ‹œ 디렉토리λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.
52
  temp_filepath = os.path.join(temp_dir.name, json_docs.name) # μž„μ‹œ 파일 경둜λ₯Ό μƒμ„±ν•©λ‹ˆλ‹€.
53
  json_loader = JSONLoader(
 
54
  jq_schema='.messages[]'
55
  )
56
  json_doc = json_loader.load(temp_filepath)