namngo commited on
Commit
6dba2ec
·
verified ·
1 Parent(s): 1c0d1f3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -284,8 +284,8 @@ if st.button("🎯 DỰ BÁO"):
284
  sheet_name = "Trang tính2" # For full data model, save to Trang tính1
285
 
286
 
287
- if prediction[0] == 1:
288
- st.success(f"Dự đoán là : {prediction[0]}")
289
  st.success(f"🎉 Chúc mừng bạn {name} - {major}! Bạn có khả năng tốt nghiệp đúng hạn!")
290
  st.balloons()
291
  else:
 
284
  sheet_name = "Trang tính2" # For full data model, save to Trang tính1
285
 
286
 
287
+ if prediction[0] == 0:
288
+ # st.success(f"Dự đoán là : {prediction[0]}")
289
  st.success(f"🎉 Chúc mừng bạn {name} - {major}! Bạn có khả năng tốt nghiệp đúng hạn!")
290
  st.balloons()
291
  else: