minji1115
commited on
Commit
·
071f8c9
1
Parent(s):
7a06f8f
.users?
Browse files
app.py
CHANGED
@@ -53,7 +53,7 @@ def get_json_file(json_docs):
|
|
53 |
temp_filepath = os.path.join(temp_dir.name, json_docs.name)
|
54 |
with open(temp_filepath, "wb") as f:
|
55 |
f.write(json_docs.getvalue())
|
56 |
-
json_loader = JSONLoader(file_path = temp_filepath, jq_schema = 'users[].phoneNumber', text_content = False)
|
57 |
json_doc = json_loader.load()
|
58 |
return json_doc
|
59 |
|
|
|
53 |
temp_filepath = os.path.join(temp_dir.name, json_docs.name)
|
54 |
with open(temp_filepath, "wb") as f:
|
55 |
f.write(json_docs.getvalue())
|
56 |
+
json_loader = JSONLoader(file_path = temp_filepath, jq_schema = '.users[].phoneNumber', text_content = False)
|
57 |
json_doc = json_loader.load()
|
58 |
return json_doc
|
59 |
|