simran19 commited on
Commit
b9c5be9
·
verified ·
1 Parent(s): 7eecb1c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ def home():
13
  return render_template('index.html',result=result)
14
 
15
  @app.route('/predict')
16
- def home():
17
  pred=model.predict([[5,5.0,4.1,3]])
18
  result=pred[0]
19
  return result
 
13
  return render_template('index.html',result=result)
14
 
15
  @app.route('/predict')
16
+ def predict():
17
  pred=model.predict([[5,5.0,4.1,3]])
18
  result=pred[0]
19
  return result