OhST commited on
Commit
1ab6872
1 Parent(s): cbd64c4

text_content=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_docs):
39
  temp_filepath = os.path.join(temp_dir.name, json_docs.name)
40
  with open(temp_filepath, "wb") as f:
41
  f.write(json_docs.getvalue())
42
- json_loader = JSONLoader(file_path = temp_filepath, jq_schema='.messages[].content')
43
  json_doc = json_loader.load()
44
  return json_doc
45
 
 
39
  temp_filepath = os.path.join(temp_dir.name, json_docs.name)
40
  with open(temp_filepath, "wb") as f:
41
  f.write(json_docs.getvalue())
42
+ json_loader = JSONLoader(file_path = temp_filepath, jq_schema='.messages[].content', text_content=False)
43
  json_doc = json_loader.load()
44
  return json_doc
45