rosemariafontana commited on
Commit
8b1ba55
·
verified ·
1 Parent(s): e3a049b

Update process_data.py

Browse files
Files changed (1) hide show
  1. process_data.py +2 -2
process_data.py CHANGED
@@ -353,7 +353,7 @@ def process_specifications(input_data, parameters):
353
  print(parameters)
354
 
355
  # here is where parsing and other things will happen before
356
- if input_data["stepwise_json_creation"] == "stepwisejsoncreation":
357
  print("You are continuing with stepwise json creation")
358
  if parameters["pre_prompt"] == True:
359
  print("You are continuing with pre_prompt processing")
@@ -362,7 +362,7 @@ def process_specifications(input_data, parameters):
362
  print("You have elsed into no pre-processing")
363
  processed_input = input_data
364
  return generate_json_pieces(processed_input, parameters)
365
- elif input_data["stepwise_json_creation"] == "singlejsoncreation":
366
  print("You are elifing into single json creation")
367
  input_data["input_context"] = False
368
  if parameters["pre_prompt"] == True:
 
353
  print(parameters)
354
 
355
  # here is where parsing and other things will happen before
356
+ if input_data["stepwise_json_creation"][0] == "stepwisejsoncreation":
357
  print("You are continuing with stepwise json creation")
358
  if parameters["pre_prompt"] == True:
359
  print("You are continuing with pre_prompt processing")
 
362
  print("You have elsed into no pre-processing")
363
  processed_input = input_data
364
  return generate_json_pieces(processed_input, parameters)
365
+ elif input_data["stepwise_json_creation"][0] == "singlejsoncreation":
366
  print("You are elifing into single json creation")
367
  input_data["input_context"] = False
368
  if parameters["pre_prompt"] == True: