nishantguvvada commited on
Commit
698e304
·
verified ·
1 Parent(s): 5c49502

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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
- print("Our crop recommendation is {}".format(crop))
57
  else:
58
- print("No recommendation")
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)