rosemariafontana commited on
Commit
524a81b
·
verified ·
1 Parent(s): 9134911

Update process_data.py

Browse files
Files changed (1) hide show
  1. process_data.py +3 -2
process_data.py CHANGED
@@ -219,8 +219,9 @@ def generate_json_pieces(input_data, parameters):
219
  print(combined_json) # debugging
220
 
221
  pretty_json = combined_json.json()
222
-
223
- return pretty_json
 
224
  except Exception as e:
225
  return {"error": "Failed to generate valid JSON. " + str(e)}
226
 
 
219
  print(combined_json) # debugging
220
 
221
  pretty_json = combined_json.json()
222
+
223
+ # this is a hack because i need to make the other two schemas still
224
+ return pretty_json, pretty_json, pretty_json
225
  except Exception as e:
226
  return {"error": "Failed to generate valid JSON. " + str(e)}
227