OhST commited on
Commit
f7b0bda
1 Parent(s): 02d2ac3

false있던거 없앰

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def get_json_file(json_doc):
39
  temp_filepath = os.path.join(temp_dir.name, json_doc.name) # 임시 파일 경로를 생성합니다.
40
  with open(temp_filepath, "wb") as f: # 임시 파일을 바이너리 쓰기 모드로 엽니다.
41
  f.write(json_doc.getvalue())
42
- json_loader = JSONLoader(temp_filepath, '.message[].content')
43
  json_doc = json_loader.load()
44
  return json_doc
45
 
 
39
  temp_filepath = os.path.join(temp_dir.name, json_doc.name) # 임시 파일 경로를 생성합니다.
40
  with open(temp_filepath, "wb") as f: # 임시 파일을 바이너리 쓰기 모드로 엽니다.
41
  f.write(json_doc.getvalue())
42
+ json_loader = JSONLoader(temp_filepath)
43
  json_doc = json_loader.load()
44
  return json_doc
45