Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,9 +53,9 @@ def output(N, P, K, temperature, humidity, ph, rainfall):
|
|
53 |
predict = recommend(N, P, K, temperature, humidity, ph, rainfall)
|
54 |
if predict in check_crops:
|
55 |
crop = check_crops[predict]
|
56 |
-
|
57 |
else:
|
58 |
-
|
59 |
|
60 |
image = Image.open('./title.jpg')
|
61 |
st.image(image)
|
|
|
53 |
predict = recommend(N, P, K, temperature, humidity, ph, rainfall)
|
54 |
if predict in check_crops:
|
55 |
crop = check_crops[predict]
|
56 |
+
st.write("""# Our crop recommendation is """, crop)
|
57 |
else:
|
58 |
+
st.write("""# No recommendation""")
|
59 |
|
60 |
image = Image.open('./title.jpg')
|
61 |
st.image(image)
|