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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def recommend(N, P, K, temperature, humidity, ph, rainfall):
46
  features = np.array([[N, P, K, temperature, humidity, ph, rainfall]]).reshape(1,-1)
47
  features = ms.transform(features)
48
  features = ss.transform(features)
49
- prediction = rfc.predict(features)
50
  return prediction[0]
51
 
52
  def output(N, P, K, temperature, humidity, ph, rainfall):
 
46
  features = np.array([[N, P, K, temperature, humidity, ph, rainfall]]).reshape(1,-1)
47
  features = ms.transform(features)
48
  features = ss.transform(features)
49
+ prediction = model.predict(features)
50
  return prediction[0]
51
 
52
  def output(N, P, K, temperature, humidity, ph, rainfall):