Update app.py
Browse files
app.py
CHANGED
@@ -57,9 +57,8 @@ def get_json_file(json_docs):
|
|
57 |
with open(temp_filepath, "wb") as f:
|
58 |
f.write(json_docs.getvalue())
|
59 |
json_loader = JSONLoader(file_path=temp_filepath, jq_schema='.messages[].content', text_content=False)
|
60 |
-
|
61 |
-
|
62 |
-
return json_doc
|
63 |
|
64 |
|
65 |
# λ¬Έμλ€μ μ²λ¦¬νμ¬ ν
μ€νΈ μ²ν¬λ‘ λλλ ν¨μμ
λλ€.
|
|
|
57 |
with open(temp_filepath, "wb") as f:
|
58 |
f.write(json_docs.getvalue())
|
59 |
json_loader = JSONLoader(file_path=temp_filepath, jq_schema='.messages[].content', text_content=False)
|
60 |
+
data = json_loader.load()
|
61 |
+
return data
|
|
|
62 |
|
63 |
|
64 |
# λ¬Έμλ€μ μ²λ¦¬νμ¬ ν
μ€νΈ μ²ν¬λ‘ λλλ ν¨μμ
λλ€.
|