Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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
|
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 |
|