diff --git a/README.md b/README.md index 3add7f39..7cfd4574 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,6 @@ Work in Progress -## Tulane Dev Integration Branch - -Sawt is a tool designed to bridge the communication gap between New Orleanians and their city council representatives. - ## Prerequisites - Install [DVC](https://dvc.org/doc/install) diff --git a/packages/googlecloud/functions/getanswer/process_public_queries.py b/packages/googlecloud/functions/getanswer/process_public_queries.py index 32f080fc..9f2fcc9d 100644 --- a/packages/googlecloud/functions/getanswer/process_public_queries.py +++ b/packages/googlecloud/functions/getanswer/process_public_queries.py @@ -21,8 +21,8 @@ def make_api_call(title, k_inp): response = requests.post(f"{api_endpoint}", json=payload) rdict = json.loads(response.text) card_type_out = rdict["card_type"] - citations_out = rdict["citations"] - responses_out = rdict["responses"] + citations_out = json.dumps(eval(str(rdict["citations"]))) + responses_out = json.dumps(eval(str(rdict["responses"]))) return card_type_out, citations_out, responses_out, k_inp # Open CSV file in append mode