rosemariafontana commited on
Commit
23c7203
·
verified ·
1 Parent(s): 4e59749

i just want these to not be lists

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -87,8 +87,8 @@ class Planting(BaseModel):
87
  crop: List[str] = Field(..., title="Crop", description="A list of the crops in this planting")
88
  variety: List[str] = Field(..., title="Variety", description="A list of the crop varieties in this planting")
89
  logs: List[Log] = Field(..., title="Logs", description="A list of all the logs that are associated with the farm activities")
90
- soil: List[Soil] = Field(..., title="Soil", description="Information about the soil associated with this planting")
91
- harvestYield: List[Yield] = Field(..., title="Yield", description="Quantitative and qualitative observations regarding the yield of harvest")
92
 
93
  class FarmActivities(BaseModel):
94
  name: str = Field(..., title="Name", description="The name of the agricultural field.")
 
87
  crop: List[str] = Field(..., title="Crop", description="A list of the crops in this planting")
88
  variety: List[str] = Field(..., title="Variety", description="A list of the crop varieties in this planting")
89
  logs: List[Log] = Field(..., title="Logs", description="A list of all the logs that are associated with the farm activities")
90
+ soil: Soil = Field(..., title="Soil", description="A single soil profile for this planting, containing only one soil description")
91
+ yield_: Yield = Field(..., title="Yield", description="One set of quantitative and qualitative yield observations for this planting")
92
 
93
  class FarmActivities(BaseModel):
94
  name: str = Field(..., title="Name", description="The name of the agricultural field.")