rosemariafontana commited on
Commit
b15e063
·
verified ·
1 Parent(s): a2229f5

Update process_data.py

Browse files
Files changed (1) hide show
  1. process_data.py +6 -0
process_data.py CHANGED
@@ -349,16 +349,22 @@ def process_specifications(input_data, parameters):
349
  print("Processing specifications")
350
  # here is where parsing and other things will happen before
351
  if input_data["stepwise_json_creation"] == "stepwisejsoncreation":
 
352
  if parameters["pre_prompt"] == True:
 
353
  processed_input = pre_processing(input_data, parameters)
354
  else:
 
355
  processed_input = input_data
356
  return generate_json_pieces(processed_input, parameters)
357
  elif input_data["stepwise_json_creation"] == "singlejsoncreation":
 
358
  input_data["input_context"] = False
359
  if parameters["pre_prompt"] == True:
 
360
  processed_input = pre_processing(input_data, parameters)
361
  else:
 
362
  processed_input = input_data
363
  return generate_json(processed_input, parameters)
364
 
 
349
  print("Processing specifications")
350
  # here is where parsing and other things will happen before
351
  if input_data["stepwise_json_creation"] == "stepwisejsoncreation":
352
+ print("You are continuing with stepwise json creation")
353
  if parameters["pre_prompt"] == True:
354
+ print("You are continuing with pre_prompt processing")
355
  processed_input = pre_processing(input_data, parameters)
356
  else:
357
+ print("You have elsed into no pre-processing")
358
  processed_input = input_data
359
  return generate_json_pieces(processed_input, parameters)
360
  elif input_data["stepwise_json_creation"] == "singlejsoncreation":
361
+ print("You are elifing into single json creation")
362
  input_data["input_context"] = False
363
  if parameters["pre_prompt"] == True:
364
+ print("You are preprocessing now")
365
  processed_input = pre_processing(input_data, parameters)
366
  else:
367
+ print("You do not have any preprocessing now")
368
  processed_input = input_data
369
  return generate_json(processed_input, parameters)
370