viwiyada commited on
Commit
eada2d8
1 Parent(s): 6507ace

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[1] == 0 else 'Not Pass'
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[0] == 0 else 'Not Pass'
54
  st.success("Your predicted loan is "+result) #แสดงผล
55
 
56
  # Run main()