Shafanda Nabil Sembodo
commited on
Commit
·
3eecf2a
1
Parent(s):
9aed1ed
update
Browse files
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[:, :-
|
| 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
|