Shafanda Nabil Sembodo commited on
Commit
3eecf2a
·
1 Parent(s): 9aed1ed
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -28,7 +28,7 @@ def run():
28
  if uploaded_file is not None:
29
  # do prediction
30
  data = pd.read_csv(uploaded_file)
31
- prediction = model[-1].predict(data.iloc[:, :-1])
32
  print(prediction)
33
 
34
  # show the result
 
28
  if uploaded_file is not None:
29
  # do prediction
30
  data = pd.read_csv(uploaded_file)
31
+ prediction = model[-1].predict(data.iloc[:, :-2])
32
  print(prediction)
33
 
34
  # show the result