Spaces:
Runtime error
Runtime error
Nuttanicha
commited on
Commit
•
a8701c9
1
Parent(s):
e7f00e2
Update app.py
Browse files
app.py
CHANGED
@@ -63,5 +63,9 @@ def main():
|
|
63 |
"poutcome": [poutcome]}))
|
64 |
|
65 |
# Show prediction
|
|
|
|
|
66 |
|
67 |
# Run main()
|
|
|
|
|
|
63 |
"poutcome": [poutcome]}))
|
64 |
|
65 |
# Show prediction
|
66 |
+
result = 'no' if result[0] == 1 else 'yes'
|
67 |
+
st.success("Your predicted y is "+result) #แสดงผล
|
68 |
|
69 |
# Run main()
|
70 |
+
if __name__ == "__main__":
|
71 |
+
main()
|