update
Browse files
app.py
CHANGED
@@ -33,7 +33,7 @@ def main():
|
|
33 |
def show_home_page():
|
34 |
st.title("Student Wellness Test")
|
35 |
st.subheader("A Website to test your wellness")
|
36 |
-
st.write("A Project By
|
37 |
st.write('To Start Test, Click on the left side bar and choose Wellness Test')
|
38 |
|
39 |
def show_wellness_test_page():
|
@@ -138,7 +138,7 @@ def show_wellness_test_page():
|
|
138 |
if pred:
|
139 |
# Pass the values to the prediction page
|
140 |
result = predict_result(df)
|
141 |
-
st.write("
|
142 |
threshold = 50
|
143 |
thresholded_result = 1 if result > threshold else 0
|
144 |
df['Label'] = thresholded_result
|
|
|
33 |
def show_home_page():
|
34 |
st.title("Student Wellness Test")
|
35 |
st.subheader("A Website to test your wellness")
|
36 |
+
st.write("A Project By Wissem karous & Alaa Eddine Ayedi & Aziz Gassara")
|
37 |
st.write('To Start Test, Click on the left side bar and choose Wellness Test')
|
38 |
|
39 |
def show_wellness_test_page():
|
|
|
138 |
if pred:
|
139 |
# Pass the values to the prediction page
|
140 |
result = predict_result(df)
|
141 |
+
st.write("This team will win : ",result,"%")
|
142 |
threshold = 50
|
143 |
thresholded_result = 1 if result > threshold else 0
|
144 |
df['Label'] = thresholded_result
|