Shafanda Nabil Sembodo
commited on
Commit
·
bc4bc8e
1
Parent(s):
3eecf2a
update
Browse files
app.py
CHANGED
|
@@ -29,10 +29,9 @@ def run():
|
|
| 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
|
| 35 |
-
|
| 36 |
|
| 37 |
# download the result
|
| 38 |
# csv = convert_df(prediction)
|
|
|
|
| 29 |
# do prediction
|
| 30 |
data = pd.read_csv(uploaded_file)
|
| 31 |
prediction = model[-1].predict(data.iloc[:, :-2])
|
|
|
|
| 32 |
|
| 33 |
# show the result
|
| 34 |
+
st.write(prediction)
|
| 35 |
|
| 36 |
# download the result
|
| 37 |
# csv = convert_df(prediction)
|