Abrar20 commited on
Commit
09e56d5
·
verified ·
1 Parent(s): 56aac82

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -10
app.py CHANGED
@@ -338,16 +338,7 @@ def fertilizer_calculator(
338
  soilN, soilP, soilK, soilS, soilZn, soilB,
339
  variety_choice
340
  ):
341
- """
342
- 1) Classify each nutrient's STVI class based on the soil test value.
343
- 2) Look up recommended range (min, max) from the variety dict.
344
- 3) Use U_f = max of that recommended range.
345
- 4) C_i = (U_f - min_of_that_range).
346
- 5) For the STVI class, find L_s (lower) and C_s (upper-lower).
347
- 6) F_r = formula result.
348
- 7) Convert F_r to fertilizer product using FERTILIZER_CONVERSION.
349
- 8) Return a textual summary.
350
- """
351
  rec_dict = VARIETY_OPTIONS[variety_choice]
352
  results = []
353
 
 
338
  soilN, soilP, soilK, soilS, soilZn, soilB,
339
  variety_choice
340
  ):
341
+
 
 
 
 
 
 
 
 
 
342
  rec_dict = VARIETY_OPTIONS[variety_choice]
343
  results = []
344