Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def main():
|
|
50 |
"pub.rec":[pub_rec],
|
51 |
"not.fully.paid":[not_fully_paid]}))
|
52 |
# Show prediction
|
53 |
-
result = 'Pass' if result[
|
54 |
st.success("Your predicted loan is "+result) #แสดงผล
|
55 |
|
56 |
# Run main()
|
|
|
50 |
"pub.rec":[pub_rec],
|
51 |
"not.fully.paid":[not_fully_paid]}))
|
52 |
# Show prediction
|
53 |
+
result = 'Pass' if result[1] == 0 else 'Not Pass'
|
54 |
st.success("Your predicted loan is "+result) #แสดงผล
|
55 |
|
56 |
# Run main()
|