kornravee commited on
Commit
cea0fd9
·
1 Parent(s): 16babea

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -12,5 +12,5 @@ with st.form(key='my_form'):
12
  X, y = iris.data, iris.target
13
  knn = neighbors.KNeighborsClassifier(n_neighbors=3)
14
  knn.fit(X, y)
15
- predict = knn.predict([[sLen,swid,pLen,pWid]])
16
  st.text(iris.target_names[predict])
 
12
  X, y = iris.data, iris.target
13
  knn = neighbors.KNeighborsClassifier(n_neighbors=3)
14
  knn.fit(X, y)
15
+ predict = knn.predict([[sLen,sWid,pLen,pWid]])
16
  st.text(iris.target_names[predict])