Zakia commited on
Commit
f6e3265
·
1 Parent(s): 68a07d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ from sklearn import datasets
13
  iris = datasets.load_iris()
14
 
15
  # Define the prediction function
16
- def predict_iris(sepal_length: "Sepal Length", sepal_width: "Sepal Width", petal_length: "Petal Length", petal_width: "Petal Width"):
17
  prediction = clf.predict([[sepal_length, sepal_width, petal_length, petal_width]])
18
  return iris.target_names[int(prediction[0])]
19
 
 
13
  iris = datasets.load_iris()
14
 
15
  # Define the prediction function
16
+ def predict_iris(sepal_length, sepal_width, petal_length, petal_width):
17
  prediction = clf.predict([[sepal_length, sepal_width, petal_length, petal_width]])
18
  return iris.target_names[int(prediction[0])]
19