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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,4 +13,4 @@ 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.write(iris.target_names[predict])
 
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])