Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -994,8 +994,8 @@ def handle_calculation():
|
|
994 |
'Mg': data['profileSettings']['Mg'],
|
995 |
'Ca': data['profileSettings']['Ca'],
|
996 |
'S': data['profileSettings']['S'],
|
997 |
-
|
998 |
-
|
999 |
}
|
1000 |
|
1001 |
calculator.fertilizers = data['fertilizerConstants']
|
|
|
994 |
'Mg': data['profileSettings']['Mg'],
|
995 |
'Ca': data['profileSettings']['Ca'],
|
996 |
'S': data['profileSettings']['S'],
|
997 |
+
NO3_RATIO: data['profileSettings']['N (NO3-)'],
|
998 |
+
NH4_RATIO: data['profileSettings']['N (NH4+)']
|
999 |
}
|
1000 |
|
1001 |
calculator.fertilizers = data['fertilizerConstants']
|