rosemariafontana commited on
Commit
98bf57a
·
verified ·
1 Parent(s): 0a34e1f

Update process_data.py

Browse files
Files changed (1) hide show
  1. process_data.py +2 -2
process_data.py CHANGED
@@ -7,7 +7,7 @@ from enum import Enum
7
  from gradio_toggle import Toggle
8
  import json
9
 
10
- from schema_classes import FarmActivities, Interactions, Trial, FarmActivitiesLite, PlantingLite, Log, Soil, Yield, InteractionsLite, TrialLite, Person
11
 
12
 
13
  # This API key must be in a "secret" in your environment. This is generated from OpenAI or the company's website that creates the model you wish to engage with.
@@ -448,7 +448,7 @@ def generate_json_pieces(processed_data):
448
 
449
  trials = {
450
  **trial_pretty_json,
451
- "treatments": treatment_generated_json
452
  }
453
 
454
  print("ADDED DICTS 3")
 
7
  from gradio_toggle import Toggle
8
  import json
9
 
10
+ from schema_classes import FarmActivities, Interactions, Trial, FarmActivitiesLite, PlantingLite, Log, Soil, Yield, InteractionsLite, TrialLite, Person, Treatment
11
 
12
 
13
  # This API key must be in a "secret" in your environment. This is generated from OpenAI or the company's website that creates the model you wish to engage with.
 
448
 
449
  trials = {
450
  **trial_pretty_json,
451
+ "treatments": treatment_pretty_json
452
  }
453
 
454
  print("ADDED DICTS 3")