simran19 commited on
Commit
c28ad05
·
verified ·
1 Parent(s): 72c625d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ def pred():
25
  scaled_input=scaler_x_full.fit_transform(user_input)
26
  prediction=model.predict(scaled_input)
27
 
28
- return render_template('index.html',result=prediction[0][0])
29
 
30
  if __name__=='__main__':
31
  app.run(debug=True)
 
25
  scaled_input=scaler_x_full.fit_transform(user_input)
26
  prediction=model.predict(scaled_input)
27
 
28
+ return render_template('index.html',result=prediction[0])
29
 
30
  if __name__=='__main__':
31
  app.run(debug=True)