suryadev1 commited on
Commit
8fa7cdc
·
verified ·
1 Parent(s): 25a0047

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -16,7 +16,7 @@ def predict(input_data):
16
  input_data = np.array(input_data).reshape(1, -1)
17
  # Make predictions
18
  predictions = knn.predict([[0.2,0.03,0.0,1.0,0.0]])
19
- return input_data
20
 
21
 
22
 
 
16
  input_data = np.array(input_data).reshape(1, -1)
17
  # Make predictions
18
  predictions = knn.predict([[0.2,0.03,0.0,1.0,0.0]])
19
+ return predictions[0]
20
 
21
 
22