Spaces:
Sleeping
Sleeping
isitraghav
commited on
Commit
·
ce9afcd
1
Parent(s):
3a2e2ae
awd
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def get_fertilizer_recommendation(row, land_size_m2, fallow_years, thresholds, a
|
|
68 |
if deficiencies:
|
69 |
return {'recommendation': f'fertilizer needed for {", ".join(deficiencies)}', 'fertilizer_amounts': fertilizer_amounts}
|
70 |
else:
|
71 |
-
return {'recommendation': '
|
72 |
|
73 |
# Gradio application
|
74 |
def gradio_application():
|
|
|
68 |
if deficiencies:
|
69 |
return {'recommendation': f'fertilizer needed for {", ".join(deficiencies)}', 'fertilizer_amounts': fertilizer_amounts}
|
70 |
else:
|
71 |
+
return {'recommendation': 'no deficiency, Manure Recommended', 'fertilizer_amounts': {}}
|
72 |
|
73 |
# Gradio application
|
74 |
def gradio_application():
|